Repository navigation
Setup: Check DocumentsUI version to determine SAF grantability - #1786
Merged
Merged
Conversation
The `DocumentsUI` app is part of "Google Play system updates". A newer version (>= `331120000`) restricts access to `Android/data` and `Android/obb` even on Android 11 & 12 (API 30-32). This change adds a version check for `DocumentsUI` to correctly reflect its capabilities. If the version is too new, or if the package information cannot be retrieved, assume access is restricted. The target SDK version check remains as a fallback. Fixes #1762
d4rken
marked this pull request as draft
May 17, 2025 13:39
d4rken
marked this pull request as ready for review
May 18, 2025 06:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
DocumentsUIapp is part of "Google Play system updates". A newer version (>=331120000) restricts access toAndroid/dataandAndroid/obbeven on Android 11 & 12 (API 30-32). This change adds a version check forDocumentsUIto correctly reflect its capabilities.If the version is too new, or if the package information cannot be retrieved, assume access is restricted. The target SDK version check remains as a fallback.
Fixes #1762