diff --git a/api/current.txt b/api/current.txt index 44df33319b71c..0ce23b9167e1a 100644 --- a/api/current.txt +++ b/api/current.txt @@ -29107,7 +29107,6 @@ package android.os { field public static final int RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY = 1; // 0x1 field public static final deprecated int SCREEN_BRIGHT_WAKE_LOCK = 10; // 0xa field public static final deprecated int SCREEN_DIM_WAKE_LOCK = 6; // 0x6 - field public static final int SUSTAINED_PERFORMANCE_WAKE_LOCK = 256; // 0x100 } public final class PowerManager.WakeLock { diff --git a/api/system-current.txt b/api/system-current.txt index 79d0cd74a2411..281fdc3fd5dfb 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -31410,7 +31410,6 @@ package android.os { field public static final int RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY = 1; // 0x1 field public static final deprecated int SCREEN_BRIGHT_WAKE_LOCK = 10; // 0xa field public static final deprecated int SCREEN_DIM_WAKE_LOCK = 6; // 0x6 - field public static final int SUSTAINED_PERFORMANCE_WAKE_LOCK = 256; // 0x100 field public static final int USER_ACTIVITY_EVENT_BUTTON = 1; // 0x1 field public static final int USER_ACTIVITY_EVENT_OTHER = 0; // 0x0 field public static final int USER_ACTIVITY_EVENT_TOUCH = 2; // 0x2 diff --git a/api/test-current.txt b/api/test-current.txt index 4b62e28b95530..503cde9601a59 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -29116,7 +29116,6 @@ package android.os { field public static final int RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY = 1; // 0x1 field public static final deprecated int SCREEN_BRIGHT_WAKE_LOCK = 10; // 0xa field public static final deprecated int SCREEN_DIM_WAKE_LOCK = 6; // 0x6 - field public static final int SUSTAINED_PERFORMANCE_WAKE_LOCK = 256; // 0x100 } public final class PowerManager.WakeLock { diff --git a/core/java/android/os/PowerManager.java b/core/java/android/os/PowerManager.java index dcc28d6f01a9a..369ec1572598d 100644 --- a/core/java/android/os/PowerManager.java +++ b/core/java/android/os/PowerManager.java @@ -224,6 +224,8 @@ public final class PowerManager { * This is used by Gaming and VR applications to ensure the device provides * will provide consistent performance over a large amount of time. *

+ * + * {@hide} */ public static final int SUSTAINED_PERFORMANCE_WAKE_LOCK = 0x00000100;