Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +2 −6 Original line number Diff line number Diff line Loading @@ -436,9 +436,7 @@ public class NotificationShelf extends ActivatableNotificationView implements public boolean onPreDraw() { boolean animatingY = ViewState.isAnimatingY(icon); if (!animatingY) { if (observer.isAlive()) { observer.removeOnPreDrawListener(this); } icon.setTag(TAG_CONTINUOUS_CLIPPING, null); return true; } Loading @@ -455,9 +453,7 @@ public class NotificationShelf extends ActivatableNotificationView implements @Override public void onViewDetachedFromWindow(View v) { if (v == icon) { if (observer.isAlive()) { observer.removeOnPreDrawListener(predrawListener); } icon.setTag(TAG_CONTINUOUS_CLIPPING, null); } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +2 −6 Original line number Diff line number Diff line Loading @@ -436,9 +436,7 @@ public class NotificationShelf extends ActivatableNotificationView implements public boolean onPreDraw() { boolean animatingY = ViewState.isAnimatingY(icon); if (!animatingY) { if (observer.isAlive()) { observer.removeOnPreDrawListener(this); } icon.setTag(TAG_CONTINUOUS_CLIPPING, null); return true; } Loading @@ -455,9 +453,7 @@ public class NotificationShelf extends ActivatableNotificationView implements @Override public void onViewDetachedFromWindow(View v) { if (v == icon) { if (observer.isAlive()) { observer.removeOnPreDrawListener(predrawListener); } icon.setTag(TAG_CONTINUOUS_CLIPPING, null); } } Loading