commit | 0c3b7ec3377e7fb645ec366be3be96bb1a252ca1 | [log] [tgz] |
---|---|---|
author | Michael Mikhail <michaelmikhil@google.com> | Fri May 26 19:41:21 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jun 08 20:34:25 2023 +0000 |
tree | 222d88340ccc012d992e39a87f195bf64b661b69 | |
parent | 9b58aee2a4528c60b0aa2540bd0f48d2871d2dc7 [diff] |
DO NOT MERGE Verify URI permissions in MediaMetadata Add a check for URI permission to make sure that user can access the URI set in MediaMetadata. If permission is denied, clear the URI string set in metadata. Bug: 271851153 Test: atest MediaSessionTest Test: Verified by POC app attached in bug, image of second user is not the UMO background of the first user. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:277e7e05866a3da3c5871c071231b2b7c911d81e) Merged-In: I932d5d5143998db89d7132ced84faffa4a0bd5aa Change-Id: I932d5d5143998db89d7132ced84faffa4a0bd5aa