Skip to content

Commit

Permalink
docs: showManageAllFilesScreen error case
Browse files Browse the repository at this point in the history
  • Loading branch information
david-allison committed Feb 17, 2025
1 parent ce0c4d2 commit a54c9cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ abstract class PermissionsFragment(

// From the docs: [ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION]
// In some cases, a matching Activity may not exist, so ensure you safeguard against this.
// example: not yet supported on WearOS: https://issuetracker.google.com/issues/299174252
if (intent.resolveActivity(requireActivity().packageManager) != null) {
Timber.i("launching ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION")
launch(intent)
Expand Down

0 comments on commit a54c9cc

Please sign in to comment.