diff options
author | John Spurlock <jspurlock@google.com> | 2014-05-31 12:54:58 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-05-31 12:54:58 -0400 |
commit | 9dcfe06154f6bd7c1de2fab2e436b8251b7d5fca (patch) | |
tree | 604937bffb70ead7749a2f24561aa9749795822b /packages | |
parent | 4732af884b593349e779a226b3636b1c8541e71c (diff) | |
download | frameworks_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.java | 1 |
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; |