commit | edb893bae660b4120e564939cc347c15cbe3defa | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue Sep 02 12:51:31 2014 +0200 |
committer | Selim Cinek <cinek@google.com> | Tue Sep 02 12:51:31 2014 +0200 |
tree | c98958d9f785f5711c5baf9b6337ca1d24d40914 | |
parent | 74c92d6def3e4e0479eb1629cd2251ef282b7437 [diff] |
Fixed crash with notification guts Bug: 17350166 Change-Id: I4b5eb19b30e57486f48fa8c397e7450426f36464
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index 3f631f7..399742a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
@@ -768,6 +768,8 @@ final NotificationGuts v = mNotificationGutsExposed; mNotificationGutsExposed = null; + if (v.getWindowToken() == null) return; + final int x = (v.getLeft() + v.getRight()) / 2; final int y = (v.getTop() + v.getActualHeight() / 2); final Animator a = ViewAnimationUtils.createCircularReveal(v,