modules/graphics/src/main/java/com/sun/glass/ui/monocle/mx6/MX6PlatformFactory.java
Print this page
*** 32,42 ****
public class MX6PlatformFactory extends NativePlatformFactory {
@Override
protected boolean matches() {
! return new File("/sys/devices/platform/Vivante GCCore").exists();
}
@Override
protected NativePlatform createNativePlatform() {
return new MX6Platform();
--- 32,44 ----
public class MX6PlatformFactory extends NativePlatformFactory {
@Override
protected boolean matches() {
! boolean retval = new File("/sys/devices/platform/Vivante GCCore:00").exists() ||
! new File("/sys/devices/platform/Vivante GCCore").exists();
! return retval;
}
@Override
protected NativePlatform createNativePlatform() {
return new MX6Platform();