summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-06-06 20:35:15 +0800
committer Tiger <tigerhuang@google.com> 2023-06-06 20:35:15 +0800
commite614fc5e8eeac06cc6a9c2b8d2aeda921eb44907 (patch)
tree348368b1a4beab1c73508e8885d4e2e57de33460 /cmds/bootanimation/BootAnimation.cpp
parentfb1f31f8adfa9ac01cb920c277b4857a74965a57 (diff)
Use the same transaction to set position of the leash
When a leash of an insets source is being created, it's initial position would be set in InsetsSourceProvider.ControlAdapter#startAnimation. And then, when the position changes, the new position would be set in InsetsSourceProvider#onPostLayout. Both places should use the same transaction. Otherwise, there is no guarantee which transaction will be applied first. Fix: 282880421 Test: Fold and unfold a foldable device. See if taskbar stays at bottom. Change-Id: Ib959e91dd25bf1ddb34b25aecda45ffcd396c4c6
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions