Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5e785d0 authored by Selim Cinek's avatar Selim Cinek Committed by Automerger Merge Worker
Browse files

Merge "Fixed error that was repeatedly polluting the log" into rvc-dev am:...

Merge "Fixed error that was repeatedly polluting the log" into rvc-dev am: 7ca55ee7 am: 082c6530 am: 96b9cc6f am: bdcdf300

Change-Id: Iaa23cf3ac260dbe2de60745e3505e0bb3c7c042d
parents d736afda bdcdf300
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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);
            }
        }
    }