diff options
author | Tiger Huang <tigerhuang@google.com> | 2018-05-17 16:45:56 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2018-05-17 16:56:33 +0800 |
commit | 53e8cfe794ef0e1295e526b21c557c2a17e597ad (patch) | |
tree | 72fe060895218e2d56f00ab7a13a30095e918cbf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5f84c4e6b337b90b2e6df65c5dfa5cbdb3903be7 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions