am 699f7221: Merge "Temporarily change PorterDuff mode MULTIPLY to SRC_IN" into lmp-preview-dev
* commit '699f7221dc0719b1ceb03a03183dc742a5bcdf3c': Temporarily change PorterDuff mode MULTIPLY to SRC_IN
This commit is contained in:
@@ -98,6 +98,11 @@ public class PorterDuffColorFilter_Delegate extends ColorFilter_Delegate {
|
||||
|
||||
private PorterDuffColorFilter_Delegate(int srcColor, int mode) {
|
||||
mSrcColor = srcColor;
|
||||
// Temporarily change multiply to SRC_IN to render menus.
|
||||
// TODO: support Mode.MULTIPLY
|
||||
if (mode == Mode.MULTIPLY.nativeInt) {
|
||||
mode = Mode.SRC_IN.nativeInt;
|
||||
}
|
||||
mMode = getPorterDuffMode(mode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user