Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e297b47 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android Build Coastguard Worker
Browse files

Skip assigning ImeContainer layer in finish transaction

Since Id4c1c49ecb58b9f19718cb926f1ff2d76d791ad7, assignLayer
will always set to transaction for building finish transaction
of transition. That may cause potential transaction order issue,
such as the new layer is set when the transition is playing,
but the finish transaction sets to old layer when the transition
is finished.

Instead of skipping assigning layer of ImeContainer when a
transition is playing or collecting, just simply skip when
building finish transaction. Because it is common that IME
can show or hide when a transition is playing, it is better
to reflect current state immediately to avoid weird jumpcut
of IME appearance.

Bug: 443345373
Flag: EXEMPT BUGFIX
Test: WindowContainerTests#testAssignLayer
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:5e2a6fff03a55324e5c2d5d8d39babe8c75ad4ca
Merged-In: Icb50c80bc256e338d8fe197bebeb6fd2435f7eb2
Change-Id: Icb50c80bc256e338d8fe197bebeb6fd2435f7eb2
parent f94c5576
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment