Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"
This commit is contained in:
@ -388,6 +388,7 @@ public class KeyguardViewManager {
|
|||||||
} else {
|
} else {
|
||||||
mWindowLayoutParams.flags &= ~WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER;
|
mWindowLayoutParams.flags &= ~WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER;
|
||||||
}
|
}
|
||||||
|
mWindowLayoutParams.format = show ? PixelFormat.TRANSLUCENT : PixelFormat.OPAQUE;
|
||||||
|
|
||||||
mViewManager.updateViewLayout(mKeyguardHost, mWindowLayoutParams);
|
mViewManager.updateViewLayout(mKeyguardHost, mWindowLayoutParams);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user