Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bbb5b4d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add native boot flag namespace for activity_manager"

parents b9dce652 e1bff3f0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -5849,6 +5849,11 @@ package android.provider {
    field public static final String NAMESPACE = "activity_manager";
  }
  public static interface DeviceConfig.ActivityManagerNativeBoot {
    field public static final String NAMESPACE = "activity_manager_native_boot";
    field public static final String OFFLOAD_QUEUE_ENABLED = "offload_queue_enabled";
  }
  public static interface DeviceConfig.AttentionManagerService {
    field public static final String NAMESPACE = "attention_manager_service";
    field public static final String PROPERTY_COMPONENT_NAME = "component_name";
+12 −0
Original line number Diff line number Diff line
@@ -159,6 +159,18 @@ public final class DeviceConfig {
        String NAMESPACE = "runtime_native";
    }

    /**
     * Namespace for all activity manager related features that are used at the native level.
     * These features are applied at reboot.
     *
     * @hide
     */
    @SystemApi
    public interface ActivityManagerNativeBoot {
        String NAMESPACE = "activity_manager_native_boot";
        String OFFLOAD_QUEUE_ENABLED = "offload_queue_enabled";
    }

    /**
     * Namespace for attention-based features provided by on-device machine intelligence.
     *
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ class SettingsToPropertiesMapper {
    // permission in the corresponding .te file your feature belongs to.
    @VisibleForTesting
    static final String[] sDeviceConfigScopes = new String[] {
        DeviceConfig.ActivityManagerNativeBoot.NAMESPACE,
        DeviceConfig.NAMESPACE_INPUT_NATIVE_BOOT,
        DeviceConfig.NAMESPACE_NETD_NATIVE,
        DeviceConfig.RuntimeNative.NAMESPACE,