commit | a071106be36815efeb41bbaa54c4b6a4407eb816 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue May 04 23:54:00 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 04 23:54:00 2021 +0000 |
tree | 40f9737e06765c583c422a73b37e1b5ad64f716c | |
parent | 6ce9c07d3044f95074062247eb0c4785f62ae2ab [diff] | |
parent | 3c0312c1285ffe0dae92a160d6c8653310e0637f [diff] |
Merge "Make overview color tinting work properly." into sc-dev am: 4ca60d50bd am: 3c0312c128 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430443 Change-Id: Id32156eb5f043adfc3ce9a70e38c5bb881962fc6
diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index 45bcdc3..08f5879 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java
@@ -1417,9 +1417,10 @@ } 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() {