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

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

Fixed the flickering of the corners when collapsing the shade

Previously the header was flickering as soon as the collaping
approached the top of the shade.

Fixes: 150177399
Test: visual
Change-Id: I84f3f66d2527b13e541c99c106492518a063a5d4
parent 9fa3a870
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -120,6 +120,10 @@ public class NotificationShelf extends ActivatableNotificationView implements
        setClipToPadding(false);
        mShelfIcons.setIsStaticLayout(false);
        setBottomRoundness(1.0f, false /* animate */);

        // Setting this to first in section to get the clipping to the top roundness correct. This
        // value determines the way we are clipping to the top roundness of the overall shade
        setFirstInSection(true);
        initDimens();
    }