Merge "Make the flingFinishedCallback be executed" into tm-qpr-dev am: 7abd8bc893 am: 413baec1ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19938275 Change-Id: I995800ae6147e585bd6d9d2b3f722e79c769e7a2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -561,6 +561,10 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
|
||||
if (from == to) {
|
||||
// No animation run, still callback to stop resizing.
|
||||
mSplitLayoutHandler.onLayoutSizeChanged(this);
|
||||
|
||||
if (flingFinishedCallback != null) {
|
||||
flingFinishedCallback.run();
|
||||
}
|
||||
InteractionJankMonitorUtils.endTracing(
|
||||
CUJ_SPLIT_SCREEN_RESIZE);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user