Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 445de0e5 authored by Becky Qiu's avatar Becky Qiu
Browse files

[Overview Actions] Hide overview actions when swipe down to launch app.

Test: demo video: https://drive.google.com/a/google.com/file/d/122DNdDhInp5KALSOcfNLhl19eDm4zKcf/view?usp=sharing
Bug: 151928222
Change-Id: I837df884c78b297dbddf770e526340cb83530984
parent 739a66eb
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -68,7 +68,6 @@ import android.view.HapticFeedbackConstants;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.OrientationEventListener;
import android.view.View;
import android.view.ViewDebug;
import android.view.ViewGroup;
@@ -88,7 +87,6 @@ import com.android.launcher3.LauncherState;
import com.android.launcher3.PagedView;
import com.android.launcher3.R;
import com.android.launcher3.Utilities;
import com.android.launcher3.anim.AnimationSuccessListener;
import com.android.launcher3.anim.AnimatorPlaybackController;
import com.android.launcher3.anim.PendingAnimation;
import com.android.launcher3.anim.PendingAnimation.EndState;
@@ -96,7 +94,6 @@ import com.android.launcher3.anim.PropertyListBuilder;
import com.android.launcher3.anim.SpringProperty;
import com.android.launcher3.compat.AccessibilityManagerCompat;
import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.dragndrop.DragLayer;
import com.android.launcher3.graphics.RotationMode;
import com.android.launcher3.states.RotationHelper;
import com.android.launcher3.touch.PagedOrientationHandler.CurveProperties;
@@ -720,6 +717,9 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
        for (int i = 0; i < taskCount; i++) {
            getTaskViewAt(i).setFullscreenProgress(mFullscreenProgress);
        }
        if (mActionsView != null) {
            mActionsView.setVisibility(fullscreenProgress == 0 ? VISIBLE : INVISIBLE);
        }
    }

    private void updateTaskStackListenerState() {
@@ -2029,7 +2029,6 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
        void onEmptyMessageUpdated(boolean isEmpty);
    }


    private static class PinnedStackAnimationListener<T extends BaseActivity> extends
            IPinnedStackAnimationListener.Stub {
        private T mActivity;