Merge "Don't hide app windows due to not showing when locked when keyguard is hidden" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
72c216f250
@@ -4912,7 +4912,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
}
|
||||
}
|
||||
|
||||
if (mWinShowWhenLocked != null &&
|
||||
if (!mKeyguardHidden && mWinShowWhenLocked != null &&
|
||||
mWinShowWhenLocked.getAppToken() != win.getAppToken() &&
|
||||
(attrs.flags & FLAG_SHOW_WHEN_LOCKED) == 0) {
|
||||
win.hideLw(false);
|
||||
|
||||
Reference in New Issue
Block a user