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

Commit 2a0e6845 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7428328 from ecaa3818 to sc-release

Change-Id: Ib2b0515e5942b2630a5c80939614f3b7540f1df2
parents 8b01e05d ecaa3818
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ import android.util.Log;
import androidx.annotation.Nullable;

import com.android.launcher3.icons.BitmapInfo.Extender;
import com.android.launcher3.icons.ClockDrawableWrapper.ClockBitmapInfo;
import com.android.launcher3.icons.cache.BaseIconCache;

import java.io.ByteArrayInputStream;
@@ -286,8 +285,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] = GraphicsUtils.getAttrColor(context, android.R.attr.colorBackgroundFloating);
            colors[1] = GraphicsUtils.getAttrColor(context, android.R.attr.colorAccent);
            colors[0] = res.getColor(android.R.color.system_neutral1_800);
            colors[1] = res.getColor(android.R.color.system_accent1_100);
        } else {
            colors[0] = res.getColor(android.R.color.system_accent1_100);
            colors[1] = res.getColor(android.R.color.system_neutral2_700);