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

Commit 473bc319 authored by Ben Lin's avatar Ben Lin
Browse files

Disable drag handle.

Bug: 158768341
Test: Manually. Drag handle no longer appears
Change-Id: I59b6d81c02917dac72be1e04bbcb74223d40e1d3
parent e2714d73
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -110,6 +110,8 @@ public class PipMenuActivity extends Activity {

    private static final float DISABLED_ACTION_ALPHA = 0.54f;

    private static final boolean ENABLE_RESIZE_HANDLE = false;

    private int mMenuState;
    private boolean mResize = true;
    private boolean mAllowMenuTimeout = true;
@@ -388,7 +390,8 @@ public class PipMenuActivity extends Activity {
            ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA,
                    mDismissButton.getAlpha(), 1f);
            ObjectAnimator resizeAnim = ObjectAnimator.ofFloat(mResizeHandle, View.ALPHA,
                    mResizeHandle.getAlpha(), menuState == MENU_STATE_CLOSE && showResizeHandle
                    mResizeHandle.getAlpha(),
                    ENABLE_RESIZE_HANDLE && menuState == MENU_STATE_CLOSE && showResizeHandle
                            ? 1f : 0f);
            if (menuState == MENU_STATE_FULL) {
                mMenuContainerAnimator.playTogether(menuAnim, settingsAnim, dismissAnim,