mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Fix all apps becoming clipped when screen is rotated with all apps opened.
b/30040068 Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244
This commit is contained in:
@@ -252,7 +252,10 @@ public class LauncherStateTransitionAnimation {
|
||||
playCommonTransitionAnimations(toWorkspaceState, fromView, toView,
|
||||
animated, initialized, animation, revealDuration, layerViews);
|
||||
if (!animated || !initialized) {
|
||||
|
||||
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP &&
|
||||
toWorkspaceState == Workspace.State.NORMAL_HIDDEN) {
|
||||
mAllAppsController.finishPullUp();
|
||||
}
|
||||
toView.setTranslationX(0.0f);
|
||||
toView.setTranslationY(0.0f);
|
||||
toView.setScaleX(1.0f);
|
||||
@@ -672,7 +675,8 @@ public class LauncherStateTransitionAnimation {
|
||||
playCommonTransitionAnimations(toWorkspaceState, fromView, toView,
|
||||
animated, initialized, animation, revealDuration, layerViews);
|
||||
if (!animated || !initialized) {
|
||||
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP) {
|
||||
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP &&
|
||||
fromWorkspaceState == Workspace.State.NORMAL_HIDDEN) {
|
||||
mAllAppsController.finishPullDown();
|
||||
}
|
||||
fromView.setVisibility(View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user