Avoid to show sim onboarding during the SUW
Bug: 339154888 Test: build pass Change-Id: Ic0c5b22284a046d76cb1d07e5f6928d1e4c71d2d
This commit is contained in:
committed by
SongFerng Wang
parent
f472d99145
commit
137b5e503c
@@ -385,6 +385,10 @@ public class SimSlotChangeHandler {
|
||||
}
|
||||
|
||||
private void startSimConfirmDialogActivity(int subId) {
|
||||
if (!isSuwFinished(mContext)) {
|
||||
Log.d(TAG, "Still in SUW. Do nothing");
|
||||
return;
|
||||
}
|
||||
if (!SubscriptionManager.isUsableSubscriptionId(subId)) {
|
||||
Log.i(TAG, "Unable to enable subscription due to invalid subscription ID.");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user