Protect data call blocking using satellite feature flags.
Bug: 291811962
Bug: 296437388
Test: Flashed build on raven-userdebug and performed basic funtionality
tests,
atest DataNetworkControllerTest
Change-Id: I8fff723b6175fc6c25dfb6b0bad010161a7fd12b
diff --git a/flags/Android.bp b/flags/Android.bp
index 184f716..02ea821 100644
--- a/flags/Android.bp
+++ b/flags/Android.bp
@@ -28,6 +28,7 @@
"misc.aconfig",
"subscription.aconfig",
"uicc.aconfig",
+ "satellite.aconfig",
],
}
@@ -35,3 +36,10 @@
name: "telephony_flags-lib",
aconfig_declarations: "telephony_flags"
}
+
+// Create test version of java flag library to access flags using static approach
+java_aconfig_library {
+ name: "telephony_flags-lib-test",
+ aconfig_declarations: "telephony_flags",
+ test: true
+}
diff --git a/flags/satellite.aconfig b/flags/satellite.aconfig
new file mode 100644
index 0000000..e640e6e
--- /dev/null
+++ b/flags/satellite.aconfig
@@ -0,0 +1,15 @@
+package: "com.android.internal.telephony.flags"
+
+flag {
+ name: "oem_enabled_satellite_flag"
+ namespace: "telephony"
+ description: "This flag controls satellite communication supported by OEMs."
+ bug:"291811962"
+}
+
+flag {
+ name: "carrier_enabled_satellite_flag"
+ namespace: "telephony"
+ description: "This flag controls satellite communication supported by carriers."
+ bug:"296437388"
+}
\ No newline at end of file