Merge "Fixed error that was repeatedly polluting the log" into rvc-dev am: 7ca55ee7f6
Change-Id: I265910617448cca58faee44f000527afd9e16e9c
This commit is contained in:
@@ -409,12 +409,9 @@ public class NotificationShelf extends ActivatableNotificationView implements
|
||||
private void clipTransientViews() {
|
||||
for (int i = 0; i < mHostLayout.getTransientViewCount(); i++) {
|
||||
View transientView = mHostLayout.getTransientView(i);
|
||||
if (transientView instanceof ExpandableNotificationRow) {
|
||||
ExpandableNotificationRow transientRow = (ExpandableNotificationRow) transientView;
|
||||
updateNotificationClipHeight(transientRow, getTranslationY(), -1);
|
||||
} else {
|
||||
Log.e(TAG, "NotificationShelf.clipTransientViews(): "
|
||||
+ "Trying to clip non-row transient view");
|
||||
if (transientView instanceof ExpandableView) {
|
||||
ExpandableView transientExpandableView = (ExpandableView) transientView;
|
||||
updateNotificationClipHeight(transientExpandableView, getTranslationY(), -1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user