Skip to content
Commit 2c596d57 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Don't remove starting window for visible app.

Activity manager agressively removes starting windows to avoid leaks.
See ag/696830 and ag/1213075 for some history. However, it is possible
for window manager to process the request of removing the starting window
coming from activity manager while the app token for the starting window
is still visible from the window manager side because we are delaying
hiding it due to an animation in progress.
We now only process the request to remove starting window from the
activity manager side if the app is hidden on the window manager side.

Change-Id: Ia33076f0e7405f9430e9d4e9d4026ae6fd1b133e
Fixes: 62443388
Test: go/wm-smoke
Test: Swipe Gmail away in Recents, launch Chome, press home button, launch Gmail, and press the home button.
parent 5cb8f220
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment