summaryrefslogtreecommitdiff
path: root/startop/scripts/app_startup/lib/adb_utils.py
diff options
context:
space:
mode:
authorNicholas Sauer <nicksauer@google.com>2019-08-27 08:43:23 -0700
committerNicholas Sauer <nicksauer@google.com>2019-08-30 04:54:35 +0000
commitdf9329334234f3d62ef608d92a958b74981edaaf (patch)
tree8df93410faba55774c20ad28d0c9da7ff55b2be6 /startop/scripts/app_startup/lib/adb_utils.py
parentdb1bad4ab979e4dd0bfe51424d19213c1c700ab4 (diff)
DO NOT MERGE Update permissions flags for all users before attempting to
restore permissions. bug: 140274903 Test: cts-tradefed run cts-dev -m CtsPermissionTestCases -t android.permission.cts.SplitPermissionTest on both user 0 and user 10. Also (running on u10): $ adb install out/.../CtsAppThatRequestsLocationPermission29.apk $ adb shell pm grant --user 10 android.permission.cts.appthatrequestpermission android.permission.ACCESS_COARSE_LOCATION $ adb install out/.../CtsAppThatRequestsLocationPermission28.apk $ adb shell dumpsys package android.permission.cts.appthatrequestpermission Verify that ACCESS_BACKGROUND_LOCATION is granted to user 10 Change-Id: I3cd4365ca5abce292a190ca7abca4e4e8fbf61c4
Diffstat (limited to 'startop/scripts/app_startup/lib/adb_utils.py')
0 files changed, 0 insertions, 0 deletions