commit | da8d8ebe1a6a92d1b3c39f9fda36e7c7ab522663 | [log] [tgz] |
---|---|---|
author | Stanley Tng <stng@google.com> | Wed May 31 14:18:36 2017 -0700 |
committer | Stanley Tng <stng@google.com> | Wed May 31 16:10:26 2017 -0700 |
tree | 6cd5dcb9b9e877caeb51b643cc8c71dcc4c8e3e0 | |
parent | fd12816a6e1c83252852be9fe49afd2af25e7fb9 [diff] |
Clear caller identity while checking Tether Change permission When changing the Bluetooth tether settings, the call comes from the system UID but the app op package name of the Bluetooth app is used and this causes a mismatch between UID and package. This commit temporarily clear the caller identity while doing the Tether Change permission check. Bug: b/37746850 Test: Manual through the Settings app on device Change-Id: I4835f940dea28f183fbddcc467723a9e03e759fd