Skip to content

AppCleaner: Detect if com.miui.securitycenter is missing the GET_USAGE_STATS permission - #1769

Merged
d4rken merged 1 commit into
mainfrom
appcleaner-acs-securitycenter-permission
May 13, 2025
Merged

AppCleaner: Detect if com.miui.securitycenter is missing the GET_USAGE_STATS permission#1769
d4rken merged 1 commit into
mainfrom
appcleaner-acs-securitycenter-permission

Conversation

@d4rken

@d4rken d4rken commented May 13, 2025

Copy link
Copy Markdown
Member

No idea how this happens but have seen this in a few reports now.

For some reason, on some devices, the security center app is missing that permission, which causes the Clear data button to be disabled, and thus ACS based cache clearing fails.

This change tries to detect that circumstance and shows an error dialog explaining it.

…SAGE_STATS` permission

No idea how this happens but have seen this in a few reports now.

For some reason, on some devices, the security center app is missing that permission, which causes the `Clear data` button to be disabled, and thus ACS based cache clearing fails.

This change tries to detect that circumstance and shows an error dialog explaining it.
@d4rken d4rken added enhancement New feature, request, improvement or optimization c: AppCleaner ROM: MIUI Xiaomi, Redmi etc. (pre 12-13) ROM: HyperOS Xiaomi, Redmi etc. and removed ROM: MIUI Xiaomi, Redmi etc. (pre 12-13) labels May 13, 2025
@d4rken
d4rken merged commit 777c13f into main May 13, 2025
@d4rken
d4rken deleted the appcleaner-acs-securitycenter-permission branch May 13, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: AppCleaner enhancement New feature, request, improvement or optimization ROM: HyperOS Xiaomi, Redmi etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant