From 87cce2f51e97081c1a5f4ff7c1fc697dc322755f Mon Sep 17 00:00:00 2001 From: Jernej Virag Date: Fri, 10 Jun 2022 10:56:05 +0200 Subject: Size restrict right icon size in notification This is to prevent large bitmaps from using too much memory in notifications. Bug:210690571 Bug:218845090 Test: Tested on device atest android.app.cts.NotificationTemplateTest Change-Id: I2f3d04546af58edbe7bae2b7d856ab3d87365fdf --- core/res/res/layout/notification_template_material_base.xml | 4 +++- core/res/res/layout/notification_template_right_icon.xml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/res/res/layout/notification_template_material_base.xml b/core/res/res/layout/notification_template_material_base.xml index 0756d68063f5..fd787f6ea470 100644 --- a/core/res/res/layout/notification_template_material_base.xml +++ b/core/res/res/layout/notification_template_material_base.xml @@ -138,7 +138,7 @@ - - -- cgit v1.2.3-59-g8ed1b