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

Commit 8d32ac18 authored by rambowang's avatar rambowang Committed by Rambo Wang
Browse files

Relax TM.isMultiSimSupported with READ_BASIC_PHONE_STATE permission

This change relaxes permission for the API
TelephonyManager.isMultiSimSupport, allowing apps with
READ_BASIC_PHONE_STATE to check if the device support multiple SIMs.

Whether a device support multiple SIMs is a basic public information
that doesn't always need READ_PHONE_STATE or carrier privileges. The
relaxed permission makes the API more useful without leaking any
sensitive info.

Bug: 401006757
Test: atest CtsTelephony2TestCases CtsTelephonyTestCases
Flag: com.android.internal.telephony.flags.macro_based_opportunistic_networks
Change-Id: Ia79260db109769c491dc6022597bc6b64b5fb969
parent 9a5460ee
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