Merge "Don't try to use display of detached task to update insets" into tm-qpr-dev am: 688d94c44b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20069731 Change-Id: I5dced6a52f70830a11973f593150053584b96636 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -477,7 +477,10 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
||||
}
|
||||
mLocalInsetsSourceProviders.remove(insetsTypes[i]);
|
||||
}
|
||||
mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
|
||||
// Update insets if this window is attached.
|
||||
if (mDisplayContent != null) {
|
||||
mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user