OSDN Git Service

Fixed a bug where the panel could be too small in certain cases
authorSelim Cinek <cinek@google.com>
Wed, 2 Dec 2015 01:36:59 +0000 (17:36 -0800)
committerSelim Cinek <cinek@google.com>
Wed, 2 Dec 2015 01:36:59 +0000 (17:36 -0800)
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

index befa93a..3c7ff7f 100644 (file)
@@ -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);
         }
     }