Fix flicker on first fold after launcher process started
If the device is folded after launcher is started, there will be a frame where unfold animation progress jump from 0 to 1. This makes the start value of the animator 1. Test: folded/unfolded after crashing launcher Bug: 277215354 Change-Id: I3ae4c16b31a0cb045787e890327b1466f98c4218
This commit is contained in:
@@ -35,7 +35,7 @@ class UnfoldRemoteFilter(
|
||||
|
||||
private var inProgress = false
|
||||
|
||||
private var processedProgress: Float = 0.0f
|
||||
private var processedProgress: Float = 1.0f
|
||||
set(newProgress) {
|
||||
if (inProgress) {
|
||||
logCounter({ "$TAG#filtered_progress" }, newProgress)
|
||||
|
||||
Reference in New Issue
Block a user