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

Commit d254b193 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

NotificationStackScrollLayout#mCornerRadius overlay

Test: install overlay and change with adb
Bug: 121124205

Change-Id: I40c3ae7ce1e5bc2839706b538c4b03f00b57c2c9
parent 2267d76e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -599,6 +599,16 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
        updateFooter();
    }

    @Override
    public void onOverlayChanged() {
        int newRadius = mContext.getResources().getDimensionPixelSize(
                Utils.getThemeAttr(mContext, android.R.attr.dialogCornerRadius));
        if (mCornerRadius != newRadius) {
            mCornerRadius = newRadius;
            invalidate();
        }
    }

    @VisibleForTesting
    @ShadeViewRefactor(RefactorComponent.SHADE_VIEW)
    public void updateFooter() {