Merge "Automatically dismiss SIM combination warnings and selection dialogs." into rvc-qpr-dev

This commit is contained in:
Xiangyu/Malcolm Chen
2020-12-16 22:22:08 +00:00
committed by Android (Google) Code Review

View File

@@ -1493,6 +1493,16 @@ public class TelephonyManager {
*/
public static final int EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_ALL = 4;
/**
* Used as an int value for {@link #EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE}
* to indicate that default subscription for data/sms/voice is now determined, that
* it should dismiss any dialog or pop-ups that is asking user to select default sub.
* This is used when, for example, opportunistic subscription is configured. At that
* time the primary becomes default sub there's no need to ask user to select anymore.
* @hide
*/
public static final int EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_DISMISS = 5;
/**
* Integer intent extra to be used with {@link #ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED}
* to indicate if the SIM combination in DSDS has limitation or compatible issue.