Skip to content
Commit 03206afc authored by Robert Carr's avatar Robert Carr
Browse files

Ignore "mLastHidden" state when deciding whether to turnScreenOn.

In the case of showWhileLocked, turnScreenOn, windows, we may not
hide them or destroy their surface when turning the screen off. In
this case mLastHidden will never be set to true, and we will never
enter the showSurfaceRobustlyLocked path. However this is the path where
we consume turnScreenOn, and so this was preventing such a window
from being able to turn the screen on a second time.

Bug: 62913759
Test: Manual from bug. go/wm-smoke. "At some form at a later date"
Change-Id: Ia72d702e175b82c5f0e628010177f02bf87abf84
parent f99ac67b
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