commit | 1802be876c3f14e8ba7175b39e053849038acce0 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue May 04 23:28:41 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue May 04 23:28:41 2021 +0000 |
tree | 4ccee7b4e42b07a0a3ed0a0c185c458c8673fbb8 | |
parent | 3a6a22e2b875bae64be1eac0e1422e2e54486392 [diff] | |
parent | 4ca60d50bdcaf75f00765c0beb7305596b6cfd68 [diff] |
Merge "Make overview color tinting work properly." into sc-dev am: 4ca60d50bd Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430443 Change-Id: Ic0058ce446e227780d69965e1bd3a763b09c3c45
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() {