From 0127cdfc865b3cd9d194a27cdeb060ec3bca3c90 Mon Sep 17 00:00:00 2001 From: Jeff DeCew Date: Thu, 16 Dec 2021 15:41:31 -0500 Subject: [PATCH] Ensure Snooze views adhere to the accessibility font weight. This fixes the bug where notifications which are already posted would not have their snooze guts font weight adjusted at all. The result of this change is that the text will still NOT have double-bold text. Bug: 208592419 Test: enable snooze, post notif, change bold setting, tap snooze. Merged-In: I8c082763a2d22c4ea42165424761f646c8d8daa0 Change-Id: I8c082763a2d22c4ea42165424761f646c8d8daa0 --- .../systemui/statusbar/notification/row/NotificationSnooze.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationSnooze.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationSnooze.java index bfe352d57c24f..aa511c66eabb2 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationSnooze.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationSnooze.java @@ -146,6 +146,7 @@ public class NotificationSnooze extends LinearLayout protected void onAttachedToWindow() { super.onAttachedToWindow(); logOptionSelection(MetricsEvent.NOTIFICATION_SNOOZE_CLICKED, mDefaultOption); + dispatchConfigurationChanged(getResources().getConfiguration()); } @Override