android/Bridge: add shutdown()

Break the mainloop and terminate run call.
This commit is contained in:
Thomas Guillem
2014-09-15 14:03:19 +02:00
committed by Max Kellermann
parent 9836b1dddd
commit 74fcbb382f
2 changed files with 10 additions and 0 deletions

View File

@@ -26,4 +26,5 @@ import android.content.Context;
*/
public class Bridge {
public static native void run(Context context);
public static native void shutdown();
}