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

Commit 0b0f4e9d authored by Jon Miranda's avatar Jon Miranda Committed by Automerger Merge Worker
Browse files

Update colors for themed icons. am: 02f982e4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/libs/systemui/+/14749348

Change-Id: I8820819a98631be4bad4d380ea75328c01656799
parents 625c8a5b 02f982e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -286,8 +286,8 @@ public class ThemedIconDrawable extends FastBitmapDrawable {
        Resources res = context.getResources();
        int[] colors = new int[2];
        if ((res.getConfiguration().uiMode & UI_MODE_NIGHT_MASK) == UI_MODE_NIGHT_YES) {
            colors[0] = res.getColor(android.R.color.system_neutral1_800);
            colors[1] = res.getColor(android.R.color.system_neutral2_200);
            colors[0] = GraphicsUtils.getAttrColor(context, android.R.attr.colorBackgroundFloating);
            colors[1] = GraphicsUtils.getAttrColor(context, android.R.attr.colorAccent);
        } else {
            colors[0] = res.getColor(android.R.color.system_accent1_100);
            colors[1] = res.getColor(android.R.color.system_neutral2_700);