Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit baade556 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Delete size limitation for ContrastColorUtil.isGrayScale() method. loss...

Merge "Delete size limitation for ContrastColorUtil.isGrayScale() method. loss of performance is tiny because, image will be resized at ImageUtil.isGrayscale() method." am: 8157fac6 am: 55e52fcf am: 76861460

Change-Id: Ib7ac4715afcce15b70e5c71cd204222544ac5a3b
parents 57f99737 76861460
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ public class ContrastColorUtil {

    private ContrastColorUtil(Context context) {
        mGrayscaleIconMaxSize = context.getResources().getDimensionPixelSize(
                com.android.internal.R.dimen.notification_large_icon_width);
                com.android.internal.R.dimen.notification_grayscale_icon_max_size);
    }

    /**
+2 −0
Original line number Diff line number Diff line
@@ -684,6 +684,8 @@
    <dimen name="notification_media_image_max_width_low_ram">100dp</dimen>
    <!-- The size of the right icon image when on low ram -->
    <dimen name="notification_right_icon_size_low_ram">@dimen/notification_right_icon_size</dimen>
    <!-- The maximum size of the grayscale icon -->
    <dimen name="notification_grayscale_icon_max_size">256dp</dimen>

    <dimen name="messaging_avatar_size">52dp</dimen>

+1 −0
Original line number Diff line number Diff line
@@ -3336,6 +3336,7 @@
  <java-symbol type="dimen" name="notification_media_image_max_width_low_ram"/>
  <java-symbol type="dimen" name="notification_media_image_max_height_low_ram"/>
  <java-symbol type="dimen" name="notification_right_icon_size_low_ram"/>
  <java-symbol type="dimen" name="notification_grayscale_icon_max_size"/>
  <java-symbol type="dimen" name="notification_custom_view_max_image_height_low_ram"/>
  <java-symbol type="dimen" name="notification_custom_view_max_image_width_low_ram"/>