From 81b8c688c80520b2beb38088dcee8fa5f2754e80 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 26 Feb 2026 17:07:10 +0800
Subject: [PATCH] feat: 权限获取调整
---
uniapps/work-app/src/uni_modules/keep-app/utssdk/app-android/index.uts | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/uniapps/work-app/src/uni_modules/keep-app/utssdk/app-android/index.uts b/uniapps/work-app/src/uni_modules/keep-app/utssdk/app-android/index.uts
index 1f308f5..2ce95f2 100644
--- a/uniapps/work-app/src/uni_modules/keep-app/utssdk/app-android/index.uts
+++ b/uniapps/work-app/src/uni_modules/keep-app/utssdk/app-android/index.uts
@@ -118,8 +118,6 @@
const packageName = context.getPackageName()
if (!powerManager.isIgnoringBatteryOptimizations(packageName)) {
- // 给个提示
- uni.showToast({ title: '请将应用添加到电池优化白名单'})
try {
const intent = new Intent()
intent.setAction('android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS')
--
Gitblit v1.9.3