Skip to content
Commit 7c88cf83 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Prevent dismissing starting window when reopening app

We reset the draw state in case the app was hidden before. This
ensures that the starting window doesn't get dismissed
immediately, in case there is some weirdness going on when
restarting an activity, like a surface view that hasn't drawn yet.

However, we don't reset draw state for starting windows as the
snapshot doesn't redraw ever.

Test: Open Chrome, swipe up, reopen Chrome, ensure no holes
Test: Same for camera
Test: go/wm-smoke
Fixes: 134561008
Change-Id: I02742cef93a6b58f2096c98514371119fa606d16
parent 02d9b9c3
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