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

Commit 01e40198 authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed a screen flickering on tablets

The background bounds were not correctly applied
when an animation was running, leading to flickers
of the scrim. Left and right should always be applied
immediately.

Change-Id: Iff9979d6e1c472a1dec20e76436a19a44c170cad
Fixed: 28000150
parent 36b02233
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1757,6 +1757,9 @@ public class NotificationStackScrollLayout extends ViewGroup
    }

    private void startBackgroundAnimation() {
        // left and right are always instantly applied
        mCurrentBounds.left = mBackgroundBounds.left;
        mCurrentBounds.right = mBackgroundBounds.right;
        startBottomAnimation();
        startTopAnimation();
    }