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,8 +477,11 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
|
|||||||
}
|
}
|
||||||
mLocalInsetsSourceProviders.remove(insetsTypes[i]);
|
mLocalInsetsSourceProviders.remove(insetsTypes[i]);
|
||||||
}
|
}
|
||||||
|
// Update insets if this window is attached.
|
||||||
|
if (mDisplayContent != null) {
|
||||||
mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
|
mDisplayContent.getInsetsStateController().updateAboveInsetsState(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets an {@link InsetsSourceProvider} to be associated with this {@code WindowContainer},
|
* Sets an {@link InsetsSourceProvider} to be associated with this {@code WindowContainer},
|
||||||
|
|||||||
Reference in New Issue
Block a user