summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2019-03-20 11:10:33 -0700
committerVarun Shah <varunshah@google.com>2019-03-21 13:45:52 -0700
commit569ac173c18b6b63c5e543f585796929435a0eac (patch)
tree484a337bd61b6673a83328c0ded8d0861ab6b08b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent47119cf9772dd704cad8106c2930197805566d3e (diff)
Added missing permission check to isPackageDeviceAdminOnAnyUser.
Added a check for the MANAGE_USERS permission to PackageManagerService#isPackageDeviceAdminOnAnyUser. To test that the method is still usable: 1) Enable virtual storage via: adb shell sm set-virtual-disk true 2) Follow instructions by clicking on notification to set up virtual storage 3) Go to Settings -> Apps & notifications -> See all X apps 4) Click on any non-system app (example Instagram) 5) Tap Storage and you should see a "Change" button (if not, choose another app) 6) Tap Change and you should see Internal and Virtual storage options listed 7) The above step confirms the method is still usable by Settings Bug: 128599183 Test: SafetyNet logging (steps listed above) Change-Id: I36521fa43daab399e08869647326a7ac32d1e512
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions