Merge "NotificationStackScrollLayout#mCornerRadius overlay"

This commit is contained in:
Fabian Kozynski
2019-02-06 13:58:42 +00:00
committed by Android (Google) Code Review

View File

@@ -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() {