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

Commit e722c89c authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fix issue where clock color would not change

Fix regression introduced bu ag/13408485 where clock colors would not
change when switching apps.

Bug: 177907834
Fixes: 178570577
Test: visual
Change-Id: I6546f6909dc38a0e0e6bcf321b5d2452f8baa973
parent e363da12
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -316,6 +316,7 @@ public class Clock extends TextView implements
    @Override
    public void onDarkChanged(Rect area, float darkIntensity, int tint) {
        mNonAdaptedColor = DarkIconDispatcher.getTint(area, this, tint);
        setTextColor(mNonAdaptedColor);
    }

    // Update text color based when shade scrim changes color.