From 4bfd992751b881c60d2d47c9bb356ba9aabdda4a Mon Sep 17 00:00:00 2001 From: shadowislord Date: Sat, 31 Jan 2015 12:47:07 -0500 Subject: [PATCH] * Do not crash if running on x86 / MIPS android system when using JmeSystem.getPlatform() --- .../src/main/java/com/jme3/system/android/JmeAndroidSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-android/src/main/java/com/jme3/system/android/JmeAndroidSystem.java b/jme3-android/src/main/java/com/jme3/system/android/JmeAndroidSystem.java index 26029c7bf..2a07d12c0 100644 --- a/jme3-android/src/main/java/com/jme3/system/android/JmeAndroidSystem.java +++ b/jme3-android/src/main/java/com/jme3/system/android/JmeAndroidSystem.java @@ -162,7 +162,7 @@ public class JmeAndroidSystem extends JmeSystemDelegate { return Platform.Android_ARM5; // unknown ARM } } else { - throw new UnsupportedOperationException("Unsupported Android Platform"); + return Platform.Android_Other; } }