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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17776962

Change-Id: I72de88dfa066dd2ce759025348d4edc00cfdab4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Lyn Han
2022-04-16 02:28:30 +00:00
committed by Automerger Merge Worker

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();