From ada4370671ff90e78e438cf5badc46a228e5226d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E6=96=B9=E5=A4=9C=E8=B0=AD?= <152615144+tianfangyetan1@users.noreply.github.com> Date: Thu, 23 Oct 2025 19:48:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=B0=8F=E7=B1=B3=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1-=E7=A6=81=E6=AD=A2=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=BC=B9=E7=AA=97=20(#1295)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.miui.securitycenter.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/apps/com.miui.securitycenter.ts b/src/apps/com.miui.securitycenter.ts index 3ba4ac4c..7927c539 100644 --- a/src/apps/com.miui.securitycenter.ts +++ b/src/apps/com.miui.securitycenter.ts @@ -161,5 +161,22 @@ export default defineGkdApp({ }, ], }, + { + key: 18, + name: '功能类-禁止后台运行弹窗', + desc: '点击确定', + rules: [ + { + fastQuery: true, + activityIds: + 'com.miui.powercenter.legacypowerrank.PowerDetailActivity', + matches: [ + '[text="应用在后台被终止运行,可能会影响应用正常使用。"]', + '[text="确定"]', + ], + snapshotUrls: 'https://i.gkd.li/i/23096094', + }, + ], + }, ], });