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 /services/restrictions | |
parent | c454f786e2301b26afee3809a293a7fadd65434a (diff) | |
download | frameworks_base-2c84cc2ea2ffa1fcd3dbd9a1b5e3880571fba1b8.zip frameworks_base-2c84cc2ea2ffa1fcd3dbd9a1b5e3880571fba1b8.tar.gz frameworks_base-2c84cc2ea2ffa1fcd3dbd9a1b5e3880571fba1b8.tar.bz2 |
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 'services/restrictions')
0 files changed, 0 insertions, 0 deletions