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

Change-Id: I8e2e6d179d3928efbc73880445c15275864275e9
This commit is contained in:
Automerger Merge Worker
2020-03-04 03:32:50 +00:00

View File

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