mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge "Fix two issues with splitting from Taskbar" into tm-qpr-dev am: b439c837d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21966877 Change-Id: I0aa5b2f2ee81d12fb3f7157fa8406f96f62eda39 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -3166,6 +3166,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
InteractionJankMonitorWrapper.cancel(
|
||||
InteractionJankMonitorWrapper.CUJ_SPLIT_SCREEN_ENTER);
|
||||
}
|
||||
|
||||
updateCurrentTaskActionsVisibility();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -4666,6 +4668,11 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
mSecondSplitHiddenView = null;
|
||||
}
|
||||
|
||||
// We are leaving split selection state, so it is safe to reset thumbnail translations for
|
||||
// the next time split is invoked.
|
||||
setTaskViewsPrimarySplitTranslation(0);
|
||||
setTaskViewsSecondarySplitTranslation(0);
|
||||
|
||||
if (mSplitHiddenTaskViewIndex == -1) {
|
||||
return;
|
||||
}
|
||||
@@ -4680,11 +4687,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
}
|
||||
onLayout(false /* changed */, getLeft(), getTop(), getRight(), getBottom());
|
||||
|
||||
// We are leaving split selection state, so it is safe to reset thumbnail translations for
|
||||
// the next time split is invoked.
|
||||
setTaskViewsPrimarySplitTranslation(0);
|
||||
setTaskViewsSecondarySplitTranslation(0);
|
||||
|
||||
resetTaskVisuals();
|
||||
mSplitHiddenTaskViewIndex = -1;
|
||||
if (mSplitHiddenTaskView != null) {
|
||||
|
||||
Reference in New Issue
Block a user