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

Skip to content
Commit dff5a4bb authored by Nathan Harold's avatar Nathan Harold
Browse files

Clear calling identity in getCarrierImsPackage()

When the calling package has SEND_SMS but not READ_PHONE_STATE
the check currently errors out. This clears the calling package
so that we can still query the CarrierConfig to see if there is
an ImsPackage that should be checked for a CarrierSms intercept.
CarrierConfig expects READ_PHONE_STATE to check keys.

Bug: 37570992
Test: manual
Change-Id: I56a8336f9ab1fe0ad33e0e304431df125bbdeeec
Merged-In: I56a8336f9ab1fe0ad33e0e304431df125bbdeeec
(cherry picked from commit 02f1fc59)
parent b7c0a4bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment