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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user