Fixed crash with notification guts

Bug: 17350166
Change-Id: I4b5eb19b30e57486f48fa8c397e7450426f36464
This commit is contained in:
Selim Cinek
2014-09-02 12:51:31 +02:00
parent 74c92d6def
commit edb893bae6

View File

@@ -768,6 +768,8 @@ public abstract class BaseStatusBar extends SystemUI implements
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,