Skip to content

Conversation

ewpatton
Copy link
Member

Change-Id: I77f1487c242ffd7a67df2605e6590291a9fb6b0e

General items:

If your code changes how something works on the device (i.e., it affects the companion):

  • I branched from ucr
  • My pull request has ucr as the base

What does this PR accomplish?

This PR fixes an issue where file operations may still ask for READ_MEDIA permissions even if the app doesn't declare them (due to removal of those perms in a previous commit). This change conditionally adds the READ_MEDIA permissions if the app actually has them declared, otherwise it does nothing. In apps without these permissions, a read may fail if the permission is needed, in which case the user will need to add the corresponding permission block to their app (but this would have already been true of ucr since the app didn't have the requisite permission in any case), and only affects apps on Tiramisu or higher.

Change-Id: I77f1487c242ffd7a67df2605e6590291a9fb6b0e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant