summaryrefslogtreecommitdiff
path: root/SafetyCenter
diff options
context:
space:
mode:
authorNate Myren <ntmyren@google.com>2023-05-25 10:18:15 -0700
committerNate Myren <ntmyren@google.com>2023-05-25 22:17:53 +0000
commitb4ea73f5dad2ab78dff0fcf836e01aa7632c9256 (patch)
tree89bee8458caeaa6650396faaa9f0fee138441ec9 /SafetyCenter
parentb6c51b5d94e20fc3ffee71c8b0463b474bcc530e (diff)
downloadPermission-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