eSIM deprecated API test Refactoring
Test: build Bug: 159354974 Change-Id: Iedeb90f186ab9f82894e2fecef86d339c8989542
This commit is contained in:
@@ -484,7 +484,8 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc
|
||||
slot ->
|
||||
slot != null
|
||||
&& slot.isRemovable()
|
||||
&& slot.getIsActive()
|
||||
&& slot.getPorts().stream().anyMatch(
|
||||
port -> port.isActive())
|
||||
&& slot.getCardStateInfo()
|
||||
== UiccSlotInfo.CARD_STATE_INFO_PRESENT);
|
||||
if (mIsEsimOperation && isRemovableSimEnabled) {
|
||||
@@ -498,7 +499,7 @@ public class ToggleSubscriptionDialogActivity extends SubscriptionActionDialogAc
|
||||
Log.i(
|
||||
TAG,
|
||||
"Removable SIM operation and eSIM profile is enabled. DSDS condition"
|
||||
+ " satisfied.");
|
||||
+ " satisfied.");
|
||||
return true;
|
||||
}
|
||||
Log.i(TAG, "DSDS condition not satisfied.");
|
||||
|
Reference in New Issue
Block a user