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

Commit bdec1470 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Updates color and size of bell icon."

parents 5494113f bae5ba39
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4471,6 +4471,14 @@ public class Notification implements Parcelable
            }
        }

        private void bindAlertedIcon(RemoteViews contentView, StandardTemplateParams p) {
            contentView.setDrawableTint(
                    R.id.alerted_icon,
                    false /* targetBackground */,
                    getNeutralColor(p),
                    PorterDuff.Mode.SRC_ATOP);
        }

        /**
         * @hide
         */
@@ -4873,6 +4881,7 @@ public class Notification implements Parcelable
                bindHeaderTextSecondary(contentView, p);
                bindHeaderChronometerAndTime(contentView, p);
                bindProfileBadge(contentView, p);
                bindAlertedIcon(contentView, p);
            }
            bindActivePermissions(contentView, p);
            bindExpandButton(contentView, p);
+0 −1
Original line number Diff line number Diff line
@@ -126,7 +126,6 @@
        android:visibility="gone"
        android:contentDescription="@string/notification_alerted_content_description"
        android:src="@drawable/ic_notifications_alerted"
        android:tint="@color/notification_secondary_text_color_light"
    />
    <ImageView
        android:id="@+id/profile_badge"
+1 −1
Original line number Diff line number Diff line
@@ -430,7 +430,7 @@
    <dimen name="notification_badge_size">12dp</dimen>

    <!-- Size of the alerted icon for notifications -->
    <dimen name="notification_alerted_size">18dp</dimen>
    <dimen name="notification_alerted_size">12dp</dimen>

    <!-- Keyguard dimensions -->
    <!-- TEMP -->