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

Commit 7167c3f3 authored by zakcohen's avatar zakcohen
Browse files

Make overview color tinting work properly.

Bug: 179922117
Test: Local
Change-Id: I0b6620be8184bab836ed91d087739df57817eb37
parent 554cf584
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1417,9 +1417,10 @@ public class TaskView extends FrameLayout implements Reusable {
    }

    private void setColorTint(float amount) {
        mSnapshotView.setDimAlpha(amount);
        mIconView.setIconColorTint(mTintingColor, amount);
        mDigitalWellBeingToast.setBannerColorTint(mTintingColor, amount);
        mTintAmount = amount;
        mSnapshotView.setDimAlpha(mTintAmount);
        mIconView.setIconColorTint(mTintingColor, mTintAmount);
        mDigitalWellBeingToast.setBannerColorTint(mTintingColor, mTintAmount);
    }

    private float getColorTint() {