Fix the isEmbeddedSubscriptionVisible logic
Bug: 314736037 Change-Id: I10ddafbad1590a660735466c0f6d7e9ed8bffcff Test: local test
This commit is contained in:
@@ -158,7 +158,7 @@ public class SubscriptionUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hide provisioning/bootstrap and satellite profiles for user
|
// hide provisioning/bootstrap and satellite profiles for user
|
||||||
if (isEmbeddedSubscriptionVisible(subInfo)) {
|
if (!isEmbeddedSubscriptionVisible(subInfo)) {
|
||||||
Log.d(TAG, "Do not insert the provision eSIM or NTN eSim");
|
Log.d(TAG, "Do not insert the provision eSIM or NTN eSim");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -587,7 +587,7 @@ public class SubscriptionUtil {
|
|||||||
if (info == null) return false;
|
if (info == null) return false;
|
||||||
|
|
||||||
// hide provisioning/bootstrap and satellite profiles for user
|
// hide provisioning/bootstrap and satellite profiles for user
|
||||||
if (isEmbeddedSubscriptionVisible(info)) {
|
if (!isEmbeddedSubscriptionVisible(info)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user