diff options
author | Lucas Dupin <dupin@google.com> | 2019-06-25 19:52:26 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2019-06-26 18:24:25 -0700 |
commit | ad2577e1c050b7b9dfdf2a5ae2595341b72b631f (patch) | |
tree | c3a95113f4351bb17391adb832ab76129908165c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0aa57fe0733e540b4f7c30eac351411c260cbdd5 (diff) |
LockIcon fixes
Gather state inisitally, then consolidate it on a pre-draw listener.
Before we were deciding when to change the icon based on various
variables, now I'm centralizing the decision on getState(), to avoid
cancelling animations.
Test: At AOD2, lock animates in
Test: When locked, press power button: lock icon animates in
Test: Press power button: lock icon animates in scanning and unlocks
Test: Unlock without bypassing, let device sleep, go to AOD2
Test: Long press padlock when it's open
Test: Look at padlock from SIM PIN screen
Test: Look at padlock when lock screen is not secure (no pin/pwd)
Fixes: 135587352
Fixes: 135960400
Change-Id: I85260b6c373d675bd6076046e33519816221157f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions