summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-05-31 12:54:58 -0400
committerJohn Spurlock <jspurlock@google.com>2014-05-31 12:54:58 -0400
commit9dcfe06154f6bd7c1de2fab2e436b8251b7d5fca (patch)
tree604937bffb70ead7749a2f24561aa9749795822b /packages
parent4732af884b593349e779a226b3636b1c8541e71c (diff)
downloadframeworks_base-9dcfe06154f6bd7c1de2fab2e436b8251b7d5fca.zip
frameworks_base-9dcfe06154f6bd7c1de2fab2e436b8251b7d5fca.tar.gz
frameworks_base-9dcfe06154f6bd7c1de2fab2e436b8251b7d5fca.tar.bz2
QuickSettings: Guard against bad input to handleShowDetail.
Bug:15326440 Change-Id: I473cedb2c41dadf88596ea54a8f8a881ca4e27ba
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/QSPanel.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
index c8cf05d..2bf369a 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java
@@ -152,6 +152,7 @@ public class QSPanel extends ViewGroup {
}
private void handleShowDetail(TileRecord r, boolean show) {
+ if (r == null) return;
AnimatorListener listener = null;
if (show) {
if (mDetailRecord != null) return;