Merge "NotificationStackScrollLayout#mCornerRadius overlay"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e8c4958b2f
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user