Skip to content
Commit 53e8cfe7 authored by Tiger Huang's avatar Tiger Huang
Browse files

Prevent infinite layout while hiding nav bar on keyguard

By the original logic, if there is a focused window which hides
navigation bar while keyguard is showing, PhoneWindowManager would
hide/show navigation bar frequently, which caused infinite layout.

Bug: 78681867
Test: 1. Open a photo in fullscreen mode (hiding navigation bar)
      2. Press power key to bring up keyguard
      3. See if there is "Performed 6 layouts in a row. Skipping" log

Change-Id: Id8c49ac8fc45b98294e48017308dce3117ed1cf8
parent 5f84c4e6
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