Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6c91b9d0 authored by Stanley Tng's avatar Stanley Tng Committed by android-build-team Robot
Browse files

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
(cherry picked from commit da8d8ebe)
parent 7c151cfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment