* commit '796a1773070fd13eca07bc4919f1c7cdf2d8a8e7': Layout the config-changed window if it has surface
This commit is contained in:
@@ -8898,7 +8898,8 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
if (!gone || !win.mHaveFrame || win.mLayoutNeeded
|
||||
|| ((win.isConfigChanged() || win.setInsetsChanged()) &&
|
||||
((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) {
|
||||
if (!win.mLayoutAttached) {
|
||||
if (initial) {
|
||||
|
||||
Reference in New Issue
Block a user