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

Commit 31fa8ac9 authored by Peiyong Lin's avatar Peiyong Lin
Browse files

Add DeviceConfig namespace for Game Driver.

Add namespace to allow us to receive feature control values of Game Driver.

BUG: 121350991
Test: Build, flash and boot
Change-Id: I395c66c76eb8a0079f71bac1a2218e5e8d22391c
parent becdfa7a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5029,6 +5029,7 @@ package android.provider {
    method public static void removeOnPropertyChangedListener(android.provider.DeviceConfig.OnPropertyChangedListener);
    method public static void resetToDefaults(int, java.lang.String);
    method public static boolean setProperty(java.lang.String, java.lang.String, java.lang.String, boolean);
    field public static final java.lang.String NAMESPACE_GAME_DRIVER = "game_driver";
    field public static final java.lang.String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot";
  }
+7 −0
Original line number Diff line number Diff line
@@ -52,6 +52,13 @@ public final class DeviceConfig {
     */
    public static final Uri CONTENT_URI = Uri.parse("content://" + Settings.AUTHORITY + "/config");

    /**
     * Namespace for all Game Driver features.
     * @hide
     */
    @SystemApi
    public static final String NAMESPACE_GAME_DRIVER = "game_driver";

    /**
     * Namespace for all input-related features that are used at the native level.
     * These features are applied at reboot.