diff options
author | Nate Myren <ntmyren@google.com> | 2023-05-25 10:18:15 -0700 |
---|---|---|
committer | Nate Myren <ntmyren@google.com> | 2023-05-25 22:17:53 +0000 |
commit | b4ea73f5dad2ab78dff0fcf836e01aa7632c9256 (patch) | |
tree | 89bee8458caeaa6650396faaa9f0fee138441ec9 /SafetyCenter | |
parent | b6c51b5d94e20fc3ffee71c8b0463b474bcc530e (diff) | |
download | Permission-b4ea73f5dad2ab78dff0fcf836e01aa7632c9256.tar.gz |
If an app doesn't request AML explicitly, do not grant it
When an app supports the photo picker, we are currently granting
ACCESS_MEDIA_LOCATION if the user clicks "select photos", regardless of
if the app included it in the request or not. We should not.
Fixes: 284255155
Test: atest PhotoPickerPermissionTest#testAMLNotGrantedIfNotRequested
Change-Id: Idd54624860b0b218f8e0c18d87102d1a5839f548
Diffstat (limited to 'SafetyCenter')
0 files changed, 0 insertions, 0 deletions