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

Commit bd14c623 authored by Priyank Singh's avatar Priyank Singh Committed by android-build-merger
Browse files

Merge "Height should be maxed to the height of the notification shade." into qt-dev am: 82f3599b

am: 8dbeccda

Change-Id: Ic280c15fa7fe444f762691361cc9469d636771c9
parents edd5d50c 8dbeccda
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -951,12 +951,10 @@ public class CarStatusBar extends StatusBar implements
        return mContext.getDrawable(com.android.internal.R.drawable.default_wallpaper);
    }

    /** Returns true if the current user makes it through the setup wizard, false otherwise. */
    private boolean getIsUserSetup() {
        return mUserSetup;
    }

    private void setNotificationViewClipBounds(int height) {
        if (height > mNotificationView.getHeight()) {
            height = mNotificationView.getHeight();
        }
        Rect clipBounds = new Rect();
        clipBounds.set(0, 0, mNotificationView.getWidth(), height);
        // Sets the clip region on the notification list view.
@@ -980,7 +978,6 @@ public class CarStatusBar extends StatusBar implements
        }
    }

    private static final int SWIPE_UP_MIN_DISTANCE = 75;
    private static final int SWIPE_DOWN_MIN_DISTANCE = 25;
    private static final int SWIPE_MAX_OFF_PATH = 75;
    private static final int SWIPE_THRESHOLD_VELOCITY = 200;