summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDonghyun Cho <donghyun@google.com>2016-10-11 17:17:34 +0900
committerDonghyun Cho <donghyun@google.com>2016-10-11 17:48:39 +0900
commit02920a08e129eb58b6c2e35ccda6183ab6503a98 (patch)
tree43ad51447bd44caee67fcee4c898d15e882b4051 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentad81502f20d1dedbd3aab2835b7e416d32cde261 (diff)
CEC: Check standby action availability before request for sleep mode
When the playback device is asked to go to Standby state with <Standby> message, it needs to check whether it can accept the request or not. This check should be done before asking the system for sleep mode. Additionally, this change will fix the behavior after screen timeout. After the timeout, playback device may go into sleep mode, but canGoToStandby() check will prevent the device from tracking the right current power status value. So need to set the status properly, and keep HdmiCecLocalDevices enabled for accepting future CEC commands. Bug: 30182748 Test: Check fugu screen after turning off/on Samsung TV and Archer. Also tested the case of screen timeout. Change-Id: Idbcd7abd5d4e22942845760f77f7f7e622b987c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions