commit | 57be7e1b388680efdcddf5cb8fe4b650ed76f6d4 | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Thu Mar 07 20:02:57 2019 +0800 |
committer | Joanne Chung <joannechung@google.com> | Wed Mar 13 14:30:15 2019 +0800 |
tree | 070912cd47f05a62bd770ccd9980d0faf23606e7 | |
parent | 28541ec70a3e816da81a66cd2f424c7fdc299d33 [diff] |
Fix the state cannot transition to DOZE while room is dark. When AOD is on and the device goes from SCREEN_ON to SCREEN_OFF in a dark room, the doze state is DOZE_AOD. Due to DozeDockHandler receives STATE_DOCKED_HIDE but the state is not PLUSING, the screen does not hide. Bug: 127737347 Test: atest SystemUITests:DozeDockHandlerTest Test: Manual Change-Id: Icaebbdf843de61ef0026e8d3d5dca47bfc2f89eb