commit | 95784b24b676621ecb1f3dbdb053518f52f95461 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Fri May 18 19:34:13 2018 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri May 18 19:34:13 2018 +0000 |
tree | c3de76f3886d660feff0630e277a476f9d80a9a4 | |
parent | 62e90c7863a1e2f9608da2fc8c4134af4fd5aced [diff] | |
parent | 384754453870d67650c75d3328804c5d14a3b6c1 [diff] |
Merge "Fixed an issue where the clear all expansion wasn't smooth" into pi-dev
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StackScrollerDecorView.java b/packages/SystemUI/src/com/android/systemui/statusbar/StackScrollerDecorView.java index f27ab9e..c5b3560 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/StackScrollerDecorView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/StackScrollerDecorView.java
@@ -94,6 +94,10 @@ } } + public boolean isContentVisible() { + return mContentVisible; + } + /** * Make this view visible. If {@code false} is passed, the view will fade out it's content * and set the view Visibility to GONE. If only the content should be changed
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index a3905b7..2f18aad9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -2199,7 +2199,7 @@ @Override protected boolean isClearAllVisible() { - return mNotificationStackScroller.isFooterViewVisible(); + return mNotificationStackScroller.isFooterViewContentVisible(); } @Override
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java index dc4b697..bd56d79 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -4117,8 +4117,8 @@ && !mFooterView.willBeGone(); } - public boolean isFooterViewVisible() { - return mFooterView != null && mFooterView.isVisible(); + public boolean isFooterViewContentVisible() { + return mFooterView != null && mFooterView.isContentVisible(); } public int getFooterViewHeight() {