Merge "Fixed error that was repeatedly polluting the log" into rvc-dev am: 7ca55ee7f6 am: 082c6530ad am: 1b9d6334ec

Change-Id: Ia972e972f353c34701e2a64d9e119af4484cf17e
This commit is contained in:
Selim Cinek
2020-03-31 20:12:30 +00:00
committed by Automerger Merge Worker

View File

@@ -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");
} }
} }
} }