diff options
author | Nicholas Sauer <nicksauer@google.com> | 2019-08-27 08:43:23 -0700 |
---|---|---|
committer | Nicholas Sauer <nicksauer@google.com> | 2019-08-30 04:54:35 +0000 |
commit | df9329334234f3d62ef608d92a958b74981edaaf (patch) | |
tree | 8df93410faba55774c20ad28d0c9da7ff55b2be6 /startop/scripts/app_startup/lib/adb_utils.py | |
parent | db1bad4ab979e4dd0bfe51424d19213c1c700ab4 (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