Merge "Don\'t hide app windows due to not showing when locked when keyguard is hidden" into nyc-dev
am: 72c216f
* commit '72c216f25072123f498105bc7ad98a65a7a3cdaf':
Don't hide app windows due to not showing when locked when keyguard is hidden
Change-Id: I33795a8690e52d26b6f66f991b03b16bdeb665f4
This commit is contained in:
@@ -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