summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2014-10-29 15:38:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-29 15:38:58 +0000
commit5d80f19c145f99eb1a2ada57a6fb1d8c3a6fa8b2 (patch)
tree6d05b1842ba6d76f0593dce4d266b773ea64711d /packages
parent8cfb3f1e4dc76c4fa92e889991f0e9dd37823d1b (diff)
parent98fa70c98f61fe1589b81deb260422b92d4c443a (diff)
downloadframeworks_base-5d80f19c145f99eb1a2ada57a6fb1d8c3a6fa8b2.zip
frameworks_base-5d80f19c145f99eb1a2ada57a6fb1d8c3a6fa8b2.tar.gz
frameworks_base-5d80f19c145f99eb1a2ada57a6fb1d8c3a6fa8b2.tar.bz2
Merge "QS: Only hide grid if there is detail to show" into lmp-mr1-dev
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSPanel.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
index fdebdd3..54a8414 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
@@ -542,7 +542,10 @@ public class QSPanel extends ViewGroup {
@Override
public void onAnimationEnd(Animator animation) {
- setGridContentVisibility(false);
+ // Only hide content if still in detail state.
+ if (mDetailRecord != null) {
+ setGridContentVisibility(false);
+ }
}
};