diff options
author | Rubin Xu <rubinxu@google.com> | 2015-05-14 13:48:35 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2015-05-14 13:48:35 +0100 |
commit | 2c84cc2ea2ffa1fcd3dbd9a1b5e3880571fba1b8 (patch) | |
tree | 355b6cf31b2a8cfa7fc9b14b0f07da968465b205 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c454f786e2301b26afee3809a293a7fadd65434a (diff) |
clear caller identify before sending system update notification
Because DeviceAdminReceiver is protected by BIND_DEVICE_ADMIN permission,
in order to send broadcast to it, we need to clear the caller's identity
and call sendBroadcastAsUser() as system.
Bug: 20213644
Change-Id: Icc7b239b9005e286012ade6580ec92a0a57198e0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions