From 2ee5363ba989ea396369039fc00e66021d1eb37c Mon Sep 17 00:00:00 2001
From: Nathalie Le Clair
+ * Android TV playback devices attempt to turn on the HDMI-connected TV via HDMI-CEC on any + * wake-up, including wake-ups triggered by wake locks. + *
* Cannot be used with {@link #PARTIAL_WAKE_LOCK}. *
*/ @@ -1292,6 +1295,9 @@ public final class PowerManager { * device will be put to sleep. If the {@link com.android.server.display.DisplayGroup#DEFAULT * default display group} is already off then nothing will happen. * + *If the device is an Android TV playback device and the current active source on the + * HDMI-connected TV, it will attempt to turn off that TV via HDMI-CEC. + * *
* Overrides all the wake locks that are held. * This is what happens when the power key is pressed to turn off the screen. @@ -1423,6 +1429,10 @@ public final class PowerManager { * be turned on. Additionally, if the device is asleep it will be awoken. If the {@link * android.view.Display#DEFAULT_DISPLAY default display} is already on then nothing will happen. * + *
If the device is an Android TV playback device, it will attempt to turn on the + * HDMI-connected TV and become the current active source via the HDMI-CEC One Touch Play + * feature. + * *
* This is what happens when the power key is pressed to turn on the screen. *