Merge "Fixed the flickering of the corners when collapsing the shade" into rvc-dev am: e4b658e0d4

Change-Id: Ifd97440317241c4712e1e66ad5d2a82d70333863
This commit is contained in:
Automerger Merge Worker
2020-03-04 03:33:01 +00:00

View File

@@ -120,6 +120,10 @@ public class NotificationShelf extends ActivatableNotificationView implements
setClipToPadding(false); setClipToPadding(false);
mShelfIcons.setIsStaticLayout(false); mShelfIcons.setIsStaticLayout(false);
setBottomRoundness(1.0f, false /* animate */); 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(); initDimens();
} }