Merge "Avoid to show sim onboarding during the SUW" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
36a00809a5
@@ -385,6 +385,10 @@ public class SimSlotChangeHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void startSimConfirmDialogActivity(int subId) {
|
private void startSimConfirmDialogActivity(int subId) {
|
||||||
|
if (!isSuwFinished(mContext)) {
|
||||||
|
Log.d(TAG, "Still in SUW. Do nothing");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!SubscriptionManager.isUsableSubscriptionId(subId)) {
|
if (!SubscriptionManager.isUsableSubscriptionId(subId)) {
|
||||||
Log.i(TAG, "Unable to enable subscription due to invalid subscription ID.");
|
Log.i(TAG, "Unable to enable subscription due to invalid subscription ID.");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user