Loading packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +3 −2 Original line number Diff line number Diff line Loading @@ -637,13 +637,14 @@ public class CarStatusBar extends StatusBar implements } Rect rect = mNotificationView.getClipBounds(); if (rect != null) { if (rect != null && rect.bottom != to) { float from = rect.bottom; animate(from, to, velocity, isClosing); return; } // We will only be here if the shade is being opened programmatically. // We will only be here if the shade is being opened programmatically or via button when // height of the layout was not calculated. ViewTreeObserver notificationTreeObserver = mNotificationView.getViewTreeObserver(); notificationTreeObserver.addOnGlobalLayoutListener( new ViewTreeObserver.OnGlobalLayoutListener() { Loading Loading
packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +3 −2 Original line number Diff line number Diff line Loading @@ -637,13 +637,14 @@ public class CarStatusBar extends StatusBar implements } Rect rect = mNotificationView.getClipBounds(); if (rect != null) { if (rect != null && rect.bottom != to) { float from = rect.bottom; animate(from, to, velocity, isClosing); return; } // We will only be here if the shade is being opened programmatically. // We will only be here if the shade is being opened programmatically or via button when // height of the layout was not calculated. ViewTreeObserver notificationTreeObserver = mNotificationView.getViewTreeObserver(); notificationTreeObserver.addOnGlobalLayoutListener( new ViewTreeObserver.OnGlobalLayoutListener() { Loading