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

Commit 3f71c136 authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Add logging for rbc changes

Add logging to changes to activation (ie; on/off).

Bug: 208393225
Test: logcat | grep ColorDisplayService
Change-Id: I6a1c2c0b70a90e7cf17bf178c078beecd0a86976
parent c50b959b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -98,6 +98,13 @@ public class ReduceBrightColorsTintController extends TintController {
        return ColorDisplayManager.isColorTransformAccelerated(context);
    }

    @Override
    public void setActivated(Boolean isActivated) {
        super.setActivated(isActivated);
        Slog.i(ColorDisplayService.TAG, (isActivated != null && isActivated)
                ? "Turning on reduce bright colors" : "Turning off reduce bright colors");
    }

    public int getStrength() {
        return mStrength;
    }