Skip to content

Commit 6403bb4

Browse files
Xiangyu/Malcolm ChenAndroid (Google) Code Review
authored andcommitted
Merge "Automatically dismiss SIM combination warnings and selection dialogs." into rvc-qpr-dev
2 parents 26bf81f + a4d48cd commit 6403bb4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

telephony/java/android/telephony/TelephonyManager.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,16 @@ public boolean isMultiSimEnabled() {
14931493
*/
14941494
public static final int EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_ALL = 4;
14951495

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

0 commit comments

Comments
 (0)