summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Material.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2017-11-08 17:16:55 -0800
committerLucas Dupin <dupin@google.com>2017-11-28 11:25:49 -0500
commit9e3fa1033c1fb43c82abf93f231636a4b103c0e4 (patch)
tree60cc9dfcaf02d0b81467aa5dee4baa7a3c8a749c /opengl/java/android/opengl/Material.java
parent62c9860111a126c23606c9d4071fb6f8591952b3 (diff)
Refactoring ScrimController
ScrimController is now a state machine with tests. The main motivation for refactoring this class was to centralize ownership of the scrim state. Before, animations could be triggered by StatusBar, StatusBarKeyguardViewManager or DozeScrimController simultaneously, causing collision, sometimes overriding an expected state due to the call order and making it hard to calculate an actual state. Change-Id: I4f4d82549235d3fc7be35b235a2668e70b956cb7 Fixes: 64397851 Fixes: 65688233 Bug: 64155983 Test: runtest -x tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java Test: runtest -x tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java Test: unlock using fingerprint, or challenge (pin/password/pattern) Test: trigger in-app bouncer (camera app) Test: pull down notification shade locked and unlocked Test: lock, look at AoD (or black display when AoD isn't supported)
Diffstat (limited to 'opengl/java/android/opengl/Material.java')
0 files changed, 0 insertions, 0 deletions