Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +3 −6 Original line number Original line Diff line number Diff line Loading @@ -409,12 +409,9 @@ public class NotificationShelf extends ActivatableNotificationView implements private void clipTransientViews() { private void clipTransientViews() { for (int i = 0; i < mHostLayout.getTransientViewCount(); i++) { for (int i = 0; i < mHostLayout.getTransientViewCount(); i++) { View transientView = mHostLayout.getTransientView(i); View transientView = mHostLayout.getTransientView(i); if (transientView instanceof ExpandableNotificationRow) { if (transientView instanceof ExpandableView) { ExpandableNotificationRow transientRow = (ExpandableNotificationRow) transientView; ExpandableView transientExpandableView = (ExpandableView) transientView; updateNotificationClipHeight(transientRow, getTranslationY(), -1); updateNotificationClipHeight(transientExpandableView, getTranslationY(), -1); } else { Log.e(TAG, "NotificationShelf.clipTransientViews(): " + "Trying to clip non-row transient view"); } } } } } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationShelf.java +3 −6 Original line number Original line Diff line number Diff line Loading @@ -409,12 +409,9 @@ public class NotificationShelf extends ActivatableNotificationView implements private void clipTransientViews() { private void clipTransientViews() { for (int i = 0; i < mHostLayout.getTransientViewCount(); i++) { for (int i = 0; i < mHostLayout.getTransientViewCount(); i++) { View transientView = mHostLayout.getTransientView(i); View transientView = mHostLayout.getTransientView(i); if (transientView instanceof ExpandableNotificationRow) { if (transientView instanceof ExpandableView) { ExpandableNotificationRow transientRow = (ExpandableNotificationRow) transientView; ExpandableView transientExpandableView = (ExpandableView) transientView; updateNotificationClipHeight(transientRow, getTranslationY(), -1); updateNotificationClipHeight(transientExpandableView, getTranslationY(), -1); } else { Log.e(TAG, "NotificationShelf.clipTransientViews(): " + "Trying to clip non-row transient view"); } } } } } } Loading