Snap for 10453563 from a96f9a905896fc43a8eff643c60a608ee2797d92 to mainline-tzdata5-release
Change-Id: Ic4fd7fd2afdb282c82271c9150cc7cef073d5c6a
diff --git a/srcs/android/sysprop/PowerProperties.sysprop b/srcs/android/sysprop/PowerProperties.sysprop
index ddb72b6..c53d6ae 100644
--- a/srcs/android/sysprop/PowerProperties.sysprop
+++ b/srcs/android/sysprop/PowerProperties.sysprop
@@ -44,3 +44,13 @@
access: ReadWrite
prop_name: "debug.power.permissionless_turn_screen_on"
}
+
+# Waives the minimum target-sdk check for android.os.PowerManager#ACQUIRE_CAUSES_WAKEUP
+# and only allows the flag for apps holding android.permission.TURN_SCREEN_ON
+prop {
+ api_name: "waive_target_sdk_check_for_turn_screen_on"
+ type: Boolean
+ scope: Internal
+ access: Readonly
+ prop_name: "ro.power.waive_target_sdk_check_for_turn_screen_on"
+}
\ No newline at end of file