summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2021-09-30 16:20:30 -0700
committerFelipe Leme <felipeal@google.com>2021-09-30 23:30:23 +0000
commitab0a45f0491d1b2266b041cf2676b47051d35ff6 (patch)
tree3d7f23e67f4836dc728f828f9f4dcce733d9708f /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parenta491ff684eb4974e18549630efe91d8725564780 (diff)
Proper fix for setDeviceOwner() permission check.
Previous fix was clearing the binding identity for the whole manageUserUnchecked() call, which would break setting it using adb - this change limits the scope just to the package manager calls. Test: atest com.android.bedstead.nene.devicepolicy.DevicePolicyTest#setDeviceOwner_deviceOwnerIsAlreadySet_throwsException Test: adb shell dpm set-device-owner --user 0 com.afwsamples.testdpc/.DeviceAdminReceiver Fixes: 200810234 BYPASS_INCLUSIVE_LANGUAGE_REASON=existing API Change-Id: I82e4ea2bef710420306ab17f58255ef7bc9cbb06
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions