Loading
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