tests: update sav/test_parser* because AST changes
[nit.git] / lib / android / activities.nit
index c037d7b..ed8e1f6 100644 (file)
@@ -37,4 +37,7 @@ extern class NativeActivity in "Java" `{ android.app.Activity `}
                JNIEnv *env = Sys_jni_env(sys);
                return (*env)->NewGlobalRef(env, self);
        `}
+
+       # Notify the OS that this activity is done and should be closed
+       fun finish in "Java" `{ self.finish(); `}
 end