Merge "Fixed crash with notification guts" into lmp-dev

This commit is contained in:
Selim Cinek
2014-09-02 11:48:27 +00:00
committed by Android (Google) Code Review

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,