Add uicc applications size check
If the SIM application count is 0, UiccCarrierPrivilegeRules
cannot retrieve any application information. So no need new
UiccCarrierPrivilegeRules if applications size < 0.
Bug: 349966950
Test: Manual
Flag: com.android.internal.telephony.flags.uicc_app_count_check_to_create_channel
1.Start by booting with no enabled profile
2.Enable one eSIM profile
3.eSIM shall load UiccCarrierPrivilegeRules success.
Change-Id: I5c98315ebc4058417169e7b8db78baa0cad42f67
diff --git a/flags/uicc.aconfig b/flags/uicc.aconfig
index 2679cfe..cf10c92 100644
--- a/flags/uicc.aconfig
+++ b/flags/uicc.aconfig
@@ -58,3 +58,14 @@
description: "This flag controls the visibility of the setCarrierRestrictionStatus API in carrierRestrictionRules class."
bug:"342411308"
}
+
+# OWNER=arunvoddu TARGET=24Q4
+flag {
+ name: "uicc_app_count_check_to_create_channel"
+ namespace: "telephony"
+ description: "This flag controls to create the open channel when uicc application count is greater than 0."
+ bug:"349966950"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}