summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2018-10-15 15:08:45 -0400
committerEvan Laird <evanlaird@google.com>2018-10-15 15:08:45 -0400
commite84d855dd0b777ffec19865684efc912818078ed (patch)
treebe7f9f2e2d9eea046ecc83c184fd5a92c948faad /rs/java/android/renderscript/ProgramStore.java
parent0036c05f6c44eb7cd6d450381a556c82ea9c72df (diff)
Extract dozing parts of StatusBarState logic out of onStateChanged
Status bar used to be calling updateDozingState every time the state changed. When moving to StatusBarStateController however, the state change callbacks happen less often (due to not triggering callbacks if the state doesn't actually change). Because of this, the status bar lost the opportunity to collapse the panel when AOD got triggered. To fix it, I've started to transition StatusBar#mDozing to be a state on SbStateController. This way related classes can get callbacks when the state OR dozing chnages. The actual bit that fixes the collapsing of the panel is to put the logic for collapsing in the state change for dozing rather than SbState. Change-Id: Ibabfdbfdc2e96d1f44b1d50b10e2ffdbe01a2293 Fixes: 114300041 Test: expand QS on keyguard and power screen off Test: atest SystemUITests
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions