Remove circular dependency in BlendMode.java

For some reason this circular dependency will create crash in
robo tests.

Fixes: 129417525
Test: RunSettingsRoboTests
Change-Id: Ic7641840ecfed9ba0270d7d9ce03622a7053df74
This commit is contained in:
jackqdyulei
2019-03-27 13:44:12 -07:00
committed by Lei Yu
parent 68d476c7bc
commit 846af9caf0

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;
}