From c349c3d43bd59ff22a638bded955594bd765fc26 Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Tue, 1 Dec 2015 17:36:59 -0800 Subject: [PATCH] Fixed a bug where the panel could be too small in certain cases Because we were updating the views to be gone but the contentheight was never updated. Change-Id: Ic0a774e82469e48dbedefa09eace68aabaa6e8c3 --- packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index befa93a67640..3c7ff7f13146 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java @@ -1299,6 +1299,7 @@ public abstract class BaseStatusBar extends SystemUI implements // Since the number of notifications is determined based on the height of the view, we // need to update them. updateRowStates(); + mStackScroller.onHeightChanged(null, false); } } -- 2.11.0