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

Commit 5dbc3c62 authored by wilsonshih's avatar wilsonshih
Browse files

Always defer remove snapshot starting window if it contains IME

The ActivityRecord#mStartingData would already be removed when calling
to removeStartingWindow, so check StartingData#hasImeSurface is useless
Instead, we should pass that information when decideing to defer remove
snapshot starting window for IME.
Also since we are moving a task to front, should not check the
softInputMode attribute since the status may already changed from
previous launch.

Bug: 310467880
Test: launch app which softInputMode set to stateAlwaysHidden, invoke
IME window, move the task to back then move it to front.
Verify the snapshot starting window will wait for IME show signal.

Change-Id: If829016d5a1a486b3a424fc6add32ceb5d2e3f05
parent 0dbcde30
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