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

Skip to content
Commit e1501cf6 authored by Michael Groover's avatar Michael Groover
Browse files

Enforce new permission requirements for getLine1Number

To move READ_PHONE_STATE from a runtime permission to a normal
permission all sensitive APIs guarded by READ_PHONE_STATE must be
moved to another permission. This commit updates the TelecomServiceImpl
to enforce the new permission requirements for getLine1Number for apps
targeting R+ while still supporting the previous READ_PHONE_STATE for
apps targeting previous SDK versions.

Bug: 136160623
Test: atest TelecomUnitTests:TelecomServiceImplTest
Change-Id: I521c1e59f310819c42fe2699231f6a3f62cbf37f
parent 40916af3
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