Merge "disallow changing from multi-sim to single-sim for carrier apps" am: 27c8f495f2

am: fbd7a667d1

Change-Id: I837d08d3c879a1f0db68a21d9d7e1d2431236988
This commit is contained in:
Nazanin Bakhshi
2019-03-06 11:37:27 -08:00
committed by android-build-merger

View File

@@ -10317,6 +10317,10 @@ public class TelephonyManager {
* <p>Requires Permission:
* {@link android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE} or that the
* calling app has carrier privileges (see {@link #hasCarrierPrivileges}).
*
* Note: with only carrier privileges, it is not allowed to switch from multi-sim
* to single-sim
*
* @param numOfSims number of live SIMs we want to switch to
* @throws android.os.RemoteException
*/