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

Commit c444d8f8 authored by Ben Lin's avatar Ben Lin Committed by Automerger Merge Worker
Browse files

Merge "Disable drag handle." into rvc-dev am: 79554c08 am: 80d9344e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885128

Change-Id: Ib53d6f176d132e5ccc3cf13bf7d1499f5483ffa0
parents 79451659 80d9344e
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,