From 0543804e5e8b86d586dd66362fc68b2988874c6f Mon Sep 17 00:00:00 2001 From: Jared Duke Date: Tue, 15 Mar 2022 17:44:58 +0000 Subject: [PATCH] Revert "Size restrict right notification icon size" Revert submission 17083643-large-icons-tm Reason for revert: Speculative revert for android.app.cts.NotificationManagerTest breakage. Reverted Changes: Ib66933a8f:Size restrict right notification icon size If3d871e78:Downscale large bitmaps in CachingIconView I504694cb2:Support downscaling of Drawable icons in LocalImag... Bug: 224768026 Change-Id: I9accb93f78c83b231ba7ce28e0026781fb698c9f --- core/res/res/layout/notification_template_header.xml | 2 -- core/res/res/layout/notification_template_material_base.xml | 6 +----- core/res/res/layout/notification_template_right_icon.xml | 4 +--- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/core/res/res/layout/notification_template_header.xml b/core/res/res/layout/notification_template_header.xml index a7f2aa7cba69a..81a79c50c3efe 100644 --- a/core/res/res/layout/notification_template_header.xml +++ b/core/res/res/layout/notification_template_header.xml @@ -49,8 +49,6 @@ android:layout_marginStart="@dimen/notification_icon_circle_start" android:background="@drawable/notification_icon_circle" android:padding="@dimen/notification_icon_circle_padding" - android:maxDrawableWidth="@dimen/notification_icon_circle_size" - android:maxDrawableHeight="@dimen/notification_icon_circle_size" /> diff --git a/core/res/res/layout/notification_template_material_base.xml b/core/res/res/layout/notification_template_material_base.xml index fd787f6ea470d..c6983ae5e0453 100644 --- a/core/res/res/layout/notification_template_material_base.xml +++ b/core/res/res/layout/notification_template_material_base.xml @@ -45,8 +45,6 @@ android:layout_marginStart="@dimen/notification_icon_circle_start" android:background="@drawable/notification_icon_circle" android:padding="@dimen/notification_icon_circle_padding" - android:maxDrawableWidth="@dimen/notification_icon_circle_size" - android:maxDrawableHeight="@dimen/notification_icon_circle_size" /> - -