/** * Test if a call is running on a gui (e.g. Swing or Android UI) thread. * Currently returns false on android. */ public static boolean isGuiThread() { // Todo: ask android helper for android UI thread. return SReflect.isAndroid() ? false : SNonAndroid.isGuiThread(); }