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

Commit 4ca60d50 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make overview color tinting work properly." into sc-dev

parents 433f5b42 7167c3f3
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() {