diff options
| author | Riddle Hsu <riddlehsu@google.com> | 2021-11-12 20:40:43 +0800 |
|---|---|---|
| committer | Riddle Hsu <riddlehsu@google.com> | 2021-11-12 20:41:26 +0800 |
| commit | c9853d9a63b1013f35c2441d3c2b99fb78c7b940 (patch) | |
| tree | 975482d3b6fcaeadfe3fc7bf6ff9d1e5c8b53534 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 05c87f765c108cc16ef1e401c4cef49abf33592c (diff) | |
Release surface control of remote transition leash without removal
Because the transition-leash is put under transition root, it will
be removed with the root when the finish transaction executes.
Otherwise if "transition-leash" is removed earlier than reparenting
task to its original parent, it may show a few frames with empty root
and looks flickering.
Transition Root
> transition-leash
> Task
> transition-leash
> Task
So it is enough to only release the reference.
Bug: 206062800
Test: adb shell setprop persist.debug.shell_transit 1; reboot
Launch app from home and return to home. The app and home
should not flicker.
Change-Id: I451f4bcce90405a6256ec40afd345824a79c96ae
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
