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

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

Merge "[Notif redesign] Use onSurface for hybrid notif text" into main

parents e129bd7d 06ba1643
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.systemui.statusbar.notification.row;

import static android.app.Flags.notificationsRedesignFonts;
import static android.app.Notification.COLOR_INVALID;

import android.annotation.Nullable;
@@ -115,7 +116,7 @@ public class HybridNotificationView extends AlphaOptimizedLinearLayout

    private void resolveThemeTextColors() {
        mPrimaryTextColor = mContext.getColor(com.android.internal.R.color.materialColorOnSurface);
        mSecondaryTextColor = mContext.getColor(
        mSecondaryTextColor = notificationsRedesignFonts() ? mPrimaryTextColor : mContext.getColor(
                com.android.internal.R.color.materialColorOnSurfaceVariant);
    }