commit | 56d3cb3013f06e3fd3f99a63d071dc0a72c92af9 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue Sep 02 11:48:27 2014 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 02 11:48:28 2014 +0000 |
tree | 48aaa56bddaddd24d9f999c08b07f000dd7cdb5f | |
parent | 6301c555dc4940f32ce8b9f8201bdf5dd475f061 [diff] | |
parent | edb893bae660b4120e564939cc347c15cbe3defa [diff] |
Merge "Fixed crash with notification guts" into lmp-dev
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,