commit | 2c84cc2ea2ffa1fcd3dbd9a1b5e3880571fba1b8 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Thu May 14 13:48:35 2015 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Thu May 14 13:48:35 2015 +0100 |
tree | 355b6cf31b2a8cfa7fc9b14b0f07da968465b205 | |
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