Merge "Fix the isEmbeddedSubscriptionVisible logic" into main

This commit is contained in:
Chaohui Wang
2023-12-12 05:21:01 +00:00
committed by Android (Google) Code Review

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