am 4fa039df: Merge "Layout the config-changed window if it has surface"
* commit '4fa039dfb1a5a23dad493f3c8c2c7529ecc1e96d': Layout the config-changed window if it has surface
This commit is contained in:
@@ -8796,7 +8796,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
|||||||
if (!gone || !win.mHaveFrame || win.mLayoutNeeded
|
if (!gone || !win.mHaveFrame || win.mLayoutNeeded
|
||||||
|| ((win.isConfigChanged() || win.setInsetsChanged()) &&
|
|| ((win.isConfigChanged() || win.setInsetsChanged()) &&
|
||||||
((win.mAttrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0 ||
|
((win.mAttrs.privateFlags & PRIVATE_FLAG_KEYGUARD) != 0 ||
|
||||||
win.mAppToken != null && win.mAppToken.layoutConfigChanges))
|
(win.mHasSurface && win.mAppToken != null &&
|
||||||
|
win.mAppToken.layoutConfigChanges)))
|
||||||
|| win.mAttrs.type == TYPE_UNIVERSE_BACKGROUND) {
|
|| win.mAttrs.type == TYPE_UNIVERSE_BACKGROUND) {
|
||||||
if (!win.mLayoutAttached) {
|
if (!win.mLayoutAttached) {
|
||||||
if (initial) {
|
if (initial) {
|
||||||
|
|||||||
Reference in New Issue
Block a user