Fix the isEmbeddedSubscriptionVisible logic

Bug: 314736037
Change-Id: I10ddafbad1590a660735466c0f6d7e9ed8bffcff
Test: local test
This commit is contained in:
SongFerng Wang
2023-12-12 04:26:35 +00:00
parent dd61b6bb3d
commit e4d761254e

View File

@@ -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;
} }