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

Commit 122427dd authored by rambowang's avatar rambowang Committed by Rambo Wang
Browse files

Enforce permission check of API TM.isMultiSimSupported for all devices

The change fixes the bug that permission check is bypassed for single
SIM devices when calling TelephonyManager.isMultiSimSupported.

This change makes sure that SecurityExceptioin will be thrown if caller
has no permission.

The change doesn't change the behavior if caller has permission.

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