Merge "Make the flingFinishedCallback be executed" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7abd8bc893
@@ -561,6 +561,10 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
|
|||||||
if (from == to) {
|
if (from == to) {
|
||||||
// No animation run, still callback to stop resizing.
|
// No animation run, still callback to stop resizing.
|
||||||
mSplitLayoutHandler.onLayoutSizeChanged(this);
|
mSplitLayoutHandler.onLayoutSizeChanged(this);
|
||||||
|
|
||||||
|
if (flingFinishedCallback != null) {
|
||||||
|
flingFinishedCallback.run();
|
||||||
|
}
|
||||||
InteractionJankMonitorUtils.endTracing(
|
InteractionJankMonitorUtils.endTracing(
|
||||||
CUJ_SPLIT_SCREEN_RESIZE);
|
CUJ_SPLIT_SCREEN_RESIZE);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user