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

Commit f394303f authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Fix FastBitmapDrawable disabled color filter.

Fixes: 206977386
Test: Disabled/re-enabled an app and added test preload icon.
Change-Id: I708708e808366149ec004303472e067afa4c95f6
parent f71aa0ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -287,7 +287,7 @@ public class FastBitmapDrawable extends Drawable {
        mat[14] = brightnessI;
        mat[18] = disabledAlpha;
        tempFilterMatrix.preConcat(tempBrightnessMatrix);
        return new ColorMatrixColorFilter(tempBrightnessMatrix);
        return new ColorMatrixColorFilter(tempFilterMatrix);
    }

    protected static class FastBitmapConstantState extends ConstantState {