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

Commit e8578871 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a flickering when expanding and the notifications updates

Change-Id: Idda8f5cfc61c3c561963eb3ccfffece9fbf5cde3
Fixes: 28557444
parent def35a86
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -392,6 +392,9 @@ public class NotificationContentView extends FrameLayout {
            mVisibleType = visibleType;
            updateBackgroundColor(true /* animate */);
        }
        if (mForceSelectNextLayout) {
            forceUpdateVisibilities();
        }
        if (mTransformationStartVisibleType != UNDEFINED
                && mVisibleType != mTransformationStartVisibleType
                && getViewForVisibleType(mTransformationStartVisibleType) != null) {
@@ -508,9 +511,6 @@ public class NotificationContentView extends FrameLayout {
                updateBackgroundColor(animate);
            }
        }
        if (mForceSelectNextLayout) {
            forceUpdateVisibilities();
        }
    }

    private void forceUpdateVisibilities() {