Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Aug 6, 2024

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
16 checks passed
@d4rken d4rken deleted the readapplist-permission branch August 9, 2024 18:48
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
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