summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNicolo' Mazzucato <nicomazz@google.com>2021-12-03 13:06:45 +0100
committerNicolo' Mazzucato <nicomazz@google.com>2021-12-08 11:09:36 +0100
commit5aef2c1faba572207a02943ea4a378b26f234080 (patch)
tree91965620cce9c7339a38774168188942195fb90a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent31801ae6ea1cff0e7322fc87efc2b81cac339d93 (diff)
Improve fold state provider logic handling posture
Now FOLD_UPDATE_START_CLOSING event is emitted when the angle decreases. After each angle update, a timeout is started to finish the animation. When the timeout is reached, FOLD_UPDATE_ABORTED is emitted. The timeout logic has been moved from PhysicsBasedUnfoldTransitionProgressProvider to DeviceFoldStateProvider. This change should not create problems to FixedTimingTransitionProgressProvider, as it doesn't use any intermediate FOLD_UPDATE event. Test: Locally on device Test atest com.android.systemui.unfold.updates.DeviceFoldStateProviderTest Bug: 208977663 Change-Id: Ibc5df1e089d6543e7cf6ee2e0ce3d48a0b24cc07
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions