From da25eef70fddaaa3025377a7f7b4c4bdf2b38171 Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Tue, 27 Oct 2020 16:55:07 -0400 Subject: [PATCH] Fix header sanitization. Fix for ag/12910438 which nested the top line a level below the header. Test: manual testing Change-Id: I5f33da102c1f018dfdbb4bcf7e0f1d11c8ff554a --- .../com/android/systemui/statusbar/NotificationHeaderUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationHeaderUtil.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationHeaderUtil.java index 597658276d49c..25c8e7feb9b23 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationHeaderUtil.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationHeaderUtil.java @@ -170,7 +170,7 @@ public class NotificationHeaderUtil { private void sanitizeChild(View child) { if (child != null) { ViewGroup header = child.findViewById( - com.android.internal.R.id.notification_header); + com.android.internal.R.id.notification_top_line); sanitizeHeader(header); } }