Add runtime_native namespace for properties
Create a namespace for runtime native properties, java language properties will be added in a later CL. Bug: 111397239 Bug: 120794191 Bug: 123524494 Test: adb shell device_config put runtime_native gctype CC,preverify Test: verify the property is set correctly Exempt-From-Owner-Approval: Previously approved Change-Id: I84ec84f0befdbf778b9cef43991b63fbab3b0943
This commit is contained in:
@@ -5836,6 +5836,10 @@ package android.provider {
|
||||
field public static final String PROPERTY_PERMISSIONS_HUB_ENABLED = "enable_permissions_hub";
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.RuntimeNative {
|
||||
field public static final String NAMESPACE = "runtime_native";
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.Storage {
|
||||
field public static final String ISOLATED_STORAGE_ENABLED = "isolated_storage_enabled";
|
||||
field public static final String NAMESPACE = "storage";
|
||||
|
||||
@@ -149,6 +149,16 @@ public final class DeviceConfig {
|
||||
String GENERATE_ACTIONS = "generate_actions";
|
||||
}
|
||||
|
||||
/**
|
||||
* Namespace for all runtime native related features.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public interface RuntimeNative {
|
||||
String NAMESPACE = "runtime_native";
|
||||
}
|
||||
|
||||
/**
|
||||
* Namespace for attention-based features provided by on-device machine intelligence.
|
||||
*
|
||||
|
||||
@@ -79,6 +79,7 @@ class SettingsToPropertiesMapper {
|
||||
static final String[] sDeviceConfigScopes = new String[] {
|
||||
DeviceConfig.NAMESPACE_INPUT_NATIVE_BOOT,
|
||||
DeviceConfig.NAMESPACE_NETD_NATIVE,
|
||||
DeviceConfig.RuntimeNative.NAMESPACE,
|
||||
};
|
||||
|
||||
private final String[] mGlobalSettings;
|
||||
|
||||
Reference in New Issue
Block a user