commit | f394303f9dce75c6d83dd2ac7bb7ad136435e36c | [log] [tgz] |
---|---|---|
author | Schneider Victor-tulias <victortulias@google.com> | Thu Nov 18 13:21:57 2021 -0800 |
committer | Schneider Victor-tulias <victortulias@google.com> | Thu Nov 18 13:21:57 2021 -0800 |
tree | 11eca7f97dcdadc2c1d4b78027a82f89fd2e9b39 | |
parent | f71aa0ca0d182e3eb052908abf3498e83bbc6aa7 [diff] |
Fix FastBitmapDrawable disabled color filter. Fixes: 206977386 Test: Disabled/re-enabled an app and added test preload icon. Change-Id: I708708e808366149ec004303472e067afa4c95f6
diff --git a/iconloaderlib/src/com/android/launcher3/icons/FastBitmapDrawable.java b/iconloaderlib/src/com/android/launcher3/icons/FastBitmapDrawable.java index 4aa2846..2a5f029 100644 --- a/iconloaderlib/src/com/android/launcher3/icons/FastBitmapDrawable.java +++ b/iconloaderlib/src/com/android/launcher3/icons/FastBitmapDrawable.java
@@ -287,7 +287,7 @@ mat[14] = brightnessI; mat[18] = disabledAlpha; tempFilterMatrix.preConcat(tempBrightnessMatrix); - return new ColorMatrixColorFilter(tempBrightnessMatrix); + return new ColorMatrixColorFilter(tempFilterMatrix); } protected static class FastBitmapConstantState extends ConstantState {