summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author Michael Mikhail <michaelmikhil@google.com> 2023-04-28 16:17:16 +0000
committer Michael Mikhail <michaelmikhil@google.com> 2023-05-12 20:22:16 +0000
commitf95b7fc61d6b3bf49420ded0357bec031f8cbdcf (patch)
tree61bf5f7a822eaf20e6266486c25314c2a2cabdb5 /libs/androidfw/PathUtils.cpp
parent47e661cbf37e1dedf676f482ac07ffc433c92d0b (diff)
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. Change-Id: I384f8e230c909d8fc8e5f147e2fd3558fec44626 Merged-In: I384f8e230c909d8fc8e5f147e2fd3558fec44626
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions