39880be88c3b40c45e189199d7b7a633410bd85d |
|
23-Apr-2018 |
Adrian Roos <roosa@google.com> |
AOD: Fix WakeLock leak Bug: 78402666 Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked. Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|
16cfe45dec96154d37b36364f67cedce16ca2484 |
|
08-Feb-2018 |
Lucas Dupin <dupin@google.com> |
Screen off animation SysUI can now control the screen off animation as long as config_dozeAfterScreenOff is set to false. The current implementation collapses the notification shade and moves the clock whenever the use is on the lock screen, or will fade the scrims and show the clock when the keyguard is occluded. Display state change (on, doze, doze_suspended) is delayed to let the animations occur at 60Hz. Test: atest packages/SystemUI/tests/src/com/android/systemui/doze/DozeUiTest.java Test: atest packages/SystemUI/tests/src/com/android/systemui/doze/DozeWallpaperStateTest.java Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java Test: atest tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java Test: atest tests/src/com/android/systemui/statusbar/phone/DozeParametersTest.java Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/WakefulnessLifecycleTest.java Fixes: 73178121 Change-Id: Id5d964452f342d4e97bedf1084efa808604e602c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|
12663d30baa5d691f3d132d9242e6186b0791807 |
|
08-Feb-2018 |
Lucas Dupin <dupin@google.com> |
Remove black frame when pulsing Fixes: 73121392 Test: Receive notification on AOD Change-Id: I04802b3b456e2c484fc5aaab8460a08b82f952e4
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|
5502b8942f15e7141686a623f6176339e2389b8d |
|
22-Aug-2017 |
Adrian Roos <roosa@google.com> |
AOD: Fix crash when AOD is stopped immediately after starting Fixes an issue where the screen state was set after DozeService was already destroyed, causing a crash. Change-Id: I13ff590b62f905330ccb438692410e118b76c242 Fixes: 64907936 Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|
8db9311cb683c58b7d61f812ae4975feca926aa4 |
|
11-Aug-2017 |
Adrian Roos <roosa@google.com> |
AOD: Fix navbar flicker when transitioning to AOD Under certain circumstances, the transition to AOD can happen before the navigation bar gets a chance to hide itself, which happens in a traversal. To work around this, post turning the screen on such that it only happens after the next traversal. Change-Id: I178b9394e7cc6baa8e9552c9819c3ce9b044defb Fixes: 64599221 Test: Open Whatsapp / Gmail, turn off screen, verify navbar does not flicker.
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|
e4cb6c8a31585de27afe89b1c06e1a5a124d8c66 |
|
19-Jul-2017 |
Adrian Roos <roosa@google.com> |
Flicker free screen-on from AOD When pulsing from AOD, we force the display OFF first. This allows us to transition smoothly from AOD. Also, we add a scrim transition for whenever we are waking up from dozing. This relies on I4f3a863709a970f0fc8682c0a0c3547886e1fd0f which forces the DOZE -> ON transition through OFF first. Also fixes the WAKE_AND_UNLOCK transition that happens when waking up with the fingerprint sensor. Also fix an issue where KeyguardViewMediator's mWakeAndUnlocking was cleared in onScreenTurnedOff; this should have been added to the wakefulness lifecycle instead and now that the AOD -> ON transtion dispatches the screen off callback it broke the fingerprint unlock transition. Fixes: 35849781 Fixes: 63887857 Fixes: 63783651 Fixes: 63727166 Test: AOD, receive notification; AOD, unlock with fingerprint; AOD, wake to lockscreen. Verify that everything is flicker-free. Change-Id: I7d539db80a1c7e9216cf4c5c1e6d314c1893f12d
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|
2981eb0d59f3568bfe84ce905c82fc17d62d21c5 |
|
27-May-2017 |
Adrian Roos <roosa@google.com> |
AOD: Refactor doze brigthness controllers, add AOD auto brightness support - Factor out doze brightness and screen state controllers - Add support for setting the screen brightness from a sensor in AOD / when pulsing - Refactor FakeSensorManager for generic sensors, add a light sensor Bug: 38354633 Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenTest.java Change-Id: I55f2bee253cee23a76ba857ba1f19052ff88a753
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStateTest.java
|