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

This commit is contained in:
TreeHugger Robot
2021-05-04 23:18:48 +00:00
committed by Android (Google) Code Review
@@ -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() {