summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorKevin Zhu <kzh@amazon.com>2015-06-29 16:06:49 -0700
committerKevin Zhu <kzh@amazon.com>2015-08-02 22:10:25 -0700
commitccfe87356fb961a4e85e4fce7cc5e0fac410f131 (patch)
tree912e9b5f519f96f92f8adae79695d7012f825b3f /tools/aidl/generate_java.cpp
parent84a04d52e7118f67e9a099fdbf55111f1c7a9010 (diff)
Idle Job Start During SCREEN_ON or DREAMING_STOPPED
When the screen goes off or dreaming start, an alarm will be scheduled and idle state will be true when the alarm expired. If the screen goes on or dreaming stop happens before the alarm expired, the alarm isn't cancelled and idle state is set to be true when the device is in SCREEN_ON or DREADING_STOPPED state. There is also a case that Idle alarm triggered when the screen on or dreaming stop just start to be processed. ACTION_TRIGGER_IDLE will set mIdle to true during screen on or dreaming stop. In this patch, the alarm will be cancelled when the screen goes on or dreaming stop and screen-on flag will be set. So the idle state can only be set when screen is off or dreaming started. Change-Id: I06ae4b7fd77901f9570ce0459d2299bbfd4b46b4
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions