Loading packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -472,7 +472,10 @@ public class CarStatusBar extends StatusBar implements } } boolean isTracking = mIsTracking; boolean isTracking = mIsTracking; Rect rect = mNotificationList.getClipBounds(); Rect rect = mNotificationList.getClipBounds(); float clippedHeight = rect.bottom; float clippedHeight = 0; if (rect != null) { clippedHeight = rect.bottom; } if (!handled && event.getActionMasked() == MotionEvent.ACTION_UP if (!handled && event.getActionMasked() == MotionEvent.ACTION_UP && mIsSwipingVerticallyToClose) { && mIsSwipingVerticallyToClose) { if (mSettleClosePercentage < mPercentageFromBottom && isTracking) { if (mSettleClosePercentage < mPercentageFromBottom && isTracking) { Loading Loading
packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -472,7 +472,10 @@ public class CarStatusBar extends StatusBar implements } } boolean isTracking = mIsTracking; boolean isTracking = mIsTracking; Rect rect = mNotificationList.getClipBounds(); Rect rect = mNotificationList.getClipBounds(); float clippedHeight = rect.bottom; float clippedHeight = 0; if (rect != null) { clippedHeight = rect.bottom; } if (!handled && event.getActionMasked() == MotionEvent.ACTION_UP if (!handled && event.getActionMasked() == MotionEvent.ACTION_UP && mIsSwipingVerticallyToClose) { && mIsSwipingVerticallyToClose) { if (mSettleClosePercentage < mPercentageFromBottom && isTracking) { if (mSettleClosePercentage < mPercentageFromBottom && isTracking) { Loading