Tony Wickham 017bbc098a Don't moveToRestState from onTaskAppeared
There's a possible race here where we call moveToRestState before
Launcher is actually stopped, so it starts to animate the state
change, causing a visual jump before it gets stopped. We already call
moveToRestState in StatefulActivity#onStop, so this one shouldn't be
necessary anyway.

Test: Enable Winscope tracing, quick switch from app A to app B; before
this change, 9/10 times it would repro the jump in the bug, 0/10 times
after this fix. (Also verified through debug logging.)
Fixes: 244583136

Change-Id: I656b028f26a64f872960cb3fe87c39b097431511
2022-09-23 14:14:52 -07:00
2022-03-18 14:20:48 -07:00
2019-11-25 20:24:07 +09:00
2021-09-21 15:25:22 -07:00
2022-08-02 14:58:25 -07:00
2020-01-17 11:24:43 -08:00
Description
No description provided
816 MiB
Languages
Java 73.1%
Kotlin 26.5%
AIDL 0.3%
Python 0.1%