Merge "Fixed an issue where the notification was clipped during the translation" into sc-dev

This commit is contained in:
Jay Aliomer
2021-05-01 23:27:37 +00:00
committed by Android (Google) Code Review

View File

@@ -1869,6 +1869,7 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
@Override
public void setTranslation(float translationX) {
invalidate();
if (isBlockingHelperShowingAndTranslationFinished()) {
mGuts.setTranslationX(translationX);
return;