* commit '2d48a93fea89cbdaae8e6cb718dbc382e35764df': Fix black Keyguard
This commit is contained in:
@@ -4389,6 +4389,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
if (attrs.type == TYPE_STATUS_BAR) {
|
if (attrs.type == TYPE_STATUS_BAR) {
|
||||||
if ((attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) {
|
if ((attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) {
|
||||||
mForceStatusBarFromKeyguard = true;
|
mForceStatusBarFromKeyguard = true;
|
||||||
|
mShowingLockscreen = true;
|
||||||
}
|
}
|
||||||
if ((attrs.privateFlags & PRIVATE_FLAG_FORCE_STATUS_BAR_VISIBLE_TRANSPARENT) != 0) {
|
if ((attrs.privateFlags & PRIVATE_FLAG_FORCE_STATUS_BAR_VISIBLE_TRANSPARENT) != 0) {
|
||||||
mForceStatusBarTransparent = true;
|
mForceStatusBarTransparent = true;
|
||||||
@@ -4409,9 +4410,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
mForceStatusBar = true;
|
mForceStatusBar = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((attrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0) {
|
|
||||||
mShowingLockscreen = true;
|
|
||||||
}
|
|
||||||
if (attrs.type == TYPE_DREAM) {
|
if (attrs.type == TYPE_DREAM) {
|
||||||
// If the lockscreen was showing when the dream started then wait
|
// If the lockscreen was showing when the dream started then wait
|
||||||
// for the dream to draw before hiding the lockscreen.
|
// for the dream to draw before hiding the lockscreen.
|
||||||
|
|||||||
Reference in New Issue
Block a user