Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev
diff --git a/src/com/android/services/telephony/TelecomAccountRegistry.java b/src/com/android/services/telephony/TelecomAccountRegistry.java
index a246a1c..fe65ce2 100644
--- a/src/com/android/services/telephony/TelecomAccountRegistry.java
+++ b/src/com/android/services/telephony/TelecomAccountRegistry.java
@@ -1686,6 +1686,21 @@
continue;
}
+ // Skip the sim for bootstrap
+ if (info.getProfileClass() == SubscriptionManager
+ .PROFILE_CLASS_PROVISIONING) {
+ Log.d(this, "setupAccounts: skipping bootstrap sub id "
+ + subscriptionId);
+ continue;
+ }
+
+ // Skip the sim for satellite as it does not support call for now
+ if (Flags.oemEnabledSatelliteFlag() && info.isOnlyNonTerrestrialNetwork()) {
+ Log.d(this, "setupAccounts: skipping satellite sub id "
+ + subscriptionId);
+ continue;
+ }
+
mAccounts.add(new AccountEntry(phone, false /* emergency */,
false /* isTest */));
}