Merge "Remove circular dependency in BlendMode.java"

This commit is contained in:
Lei Yu
2019-03-27 20:52:52 +00:00
committed by Android (Google) Code Review

View File

@@ -31,7 +31,7 @@ import android.annotation.UnsupportedAppUsage;
* objects drawn with that paint have the xfermode applied.
*/
public class Xfermode {
static final int DEFAULT = BlendMode.SRC_OVER.getXfermode().porterDuffMode;
static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt;
@UnsupportedAppUsage
int porterDuffMode = DEFAULT;
}