NotificationStackScrollLayout#mCornerRadius overlay
Test: install overlay and change with adb Bug: 121124205 Change-Id: I40c3ae7ce1e5bc2839706b538c4b03f00b57c2c9
This commit is contained in:
@@ -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