Merge "Fix clipped notifications in sensitive mode" into tm-dev

This commit is contained in:
Lyn Han
2022-04-16 01:49:33 +00:00
committed by Android (Google) Code Review

View File

@@ -2658,9 +2658,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
return; return;
} }
// bail out if no public version
if (mPublicLayout.getChildCount() == 0) return;
if (!animated) { if (!animated) {
mPublicLayout.animate().cancel(); mPublicLayout.animate().cancel();
mPrivateLayout.animate().cancel(); mPrivateLayout.animate().cancel();