Add camera_native namespace to system properties [1/2]
Fixes PlatformConfigurator not syncing flags in the camera_native
namespace from system settings to system properties.
This is the first CL out of 2 CLs to fix the issue.
Test: m
Bug: 266607979
Change-Id: I33a428ac55e65e90444c00296a9c96a16400338a
diff --git a/framework/api/system-current.txt b/framework/api/system-current.txt
index 567ab32..a9e9343 100644
--- a/framework/api/system-current.txt
+++ b/framework/api/system-current.txt
@@ -37,6 +37,7 @@
field public static final String NAMESPACE_BIOMETRICS = "biometrics";
field public static final String NAMESPACE_BLOBSTORE = "blobstore";
field public static final String NAMESPACE_BLUETOOTH = "bluetooth";
+ field public static final String NAMESPACE_CAMERA_NATIVE = "camera_native";
field public static final String NAMESPACE_CAPTIVEPORTALLOGIN = "captive_portal_login";
field public static final String NAMESPACE_CELLULAR_SECURITY = "cellular_security";
field public static final String NAMESPACE_CLIPBOARD = "clipboard";
diff --git a/framework/java/android/provider/DeviceConfig.java b/framework/java/android/provider/DeviceConfig.java
index b5e1ba6..cb9cd7a 100644
--- a/framework/java/android/provider/DeviceConfig.java
+++ b/framework/java/android/provider/DeviceConfig.java
@@ -176,6 +176,14 @@
public static final String NAMESPACE_BLUETOOTH = "bluetooth";
/**
+ * Namespace for all camera-related features that are used at the native level.
+ *
+ * @hide
+ */
+ @SystemApi
+ public static final String NAMESPACE_CAMERA_NATIVE = "camera_native";
+
+ /**
* Namespace for cellular security related features.
*
* @hide