Merge "Fixes an issue where certain notification icons were not tinted"

This commit is contained in:
TreeHugger Robot
2019-01-30 02:25:27 +00:00
committed by Android (Google) Code Review

View File

@@ -594,8 +594,8 @@ public class StatusBarIconView extends AnimatedImageView implements StatusIconDi
mCurrentSetColor, Color.WHITE, mDarkAmount);
updateTintMatrix(mMatrix, color, DARK_ALPHA_BOOST * mDarkAmount);
mMatrixColorFilter.setColorMatrixArray(mMatrix);
setColorFilter(null); // setColorFilter only invalidates if the instance changed.
setColorFilter(mMatrixColorFilter);
invalidate(); // setColorFilter only invalidates if the filter instance changed.
} else {
mDozer.updateGrayscale(this, mDarkAmount);
}