Skip to content

Core: Check and handle invalid app inventory data on Samsung devices - #1355

Merged
d4rken merged 3 commits into
mainfrom
readapplist-permission
Aug 9, 2024
Merged

Core: Check and handle invalid app inventory data on Samsung devices#1355
d4rken merged 3 commits into
mainfrom
readapplist-permission

Conversation

@d4rken

@d4rken d4rken commented Aug 6, 2024

Copy link
Copy Markdown
Member

QUERY_ALL_PACKAGES is a permission that is automatically granted, at least according to documentation. Except, of course, on some Samsung devices running Android 14, because why not do things differently...

This PR prevents SD Maid from crashing in these cases. A specific error is shown. The state is now detected and treated as a permission error and will show as incomplete-setup.

Fixes #1354

Screenshot from 2024-08-06 20-06-10

`QUERY_ALL_PACKAGES` is a permission that is automatically granted, at least according to documentation.
Except, of course, on some Samsung devices running Android 14, because why not do things differently...

This PR prevents SD Maid from crashing in these cases. A specific error is shown.
The state is now detected and treated as a permission error and will show as incomplete-setup.

Fixes #1354
@d4rken d4rken added enhancement New feature, request, improvement or optimization api: 34 A14 (Upside Down Cake) Device specific A device specific issue or behavior. c: PKGS Package related operations. labels Aug 6, 2024
@d4rken
d4rken merged commit b5aaad6 into main Aug 9, 2024
@d4rken
d4rken deleted the readapplist-permission branch August 9, 2024 18:48
@d4rken d4rken added the ROM: OneUI Samsung label May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: 34 A14 (Upside Down Cake) c: PKGS Package related operations. Device specific A device specific issue or behavior. enhancement New feature, request, improvement or optimization ROM: OneUI Samsung

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing "App list" permission on Samsung devices with Android 14

1 participant