From a43e4cb45d1b3428de00fe3732499d67a7b333f2 Mon Sep 17 00:00:00 2001 From: Yining Liu Date: Thu, 16 Mar 2023 22:48:41 +0000 Subject: [PATCH] Fix text clipping of NotificationVanishingFrameLayout, when the system font size is at maximum Fixes the visually clipped notification content text inside NotificationVanishingFrameLayout, when the Accessibility - Display size and text - font size is at its maximum(2.0 scale). Test: Manual, Go to Settings > Accessibility > Display size and text. Adjust the "Font size" to the biggest. Post an Account update alert notification, then open the Shade. The notification's content text shouldn't be clipped. Bug: 273401782 Change-Id: I2fcaae6a68692a4bc19eedf4cdd84d3a0716663b --- core/res/res/layout/notification_template_material_base.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/res/res/layout/notification_template_material_base.xml b/core/res/res/layout/notification_template_material_base.xml index 16a8bb7280a4e..710a70a32955a 100644 --- a/core/res/res/layout/notification_template_material_base.xml +++ b/core/res/res/layout/notification_template_material_base.xml @@ -116,7 +116,8 @@