(Android) Get rid of globalMyNativeActivityClass variable
This commit is contained in:
parent
0674ab47b0
commit
20f679d201
|
@ -29,7 +29,6 @@
|
||||||
#include "../../file.h"
|
#include "../../file.h"
|
||||||
|
|
||||||
struct android_app *g_android;
|
struct android_app *g_android;
|
||||||
jclass globalMyNativeActivityClass;
|
|
||||||
|
|
||||||
//forward decls
|
//forward decls
|
||||||
static void system_deinit(void *data);
|
static void system_deinit(void *data);
|
||||||
|
@ -383,8 +382,6 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved)
|
||||||
if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_6) != JNI_OK)
|
if ((*vm)->GetEnv(vm, (void**) &env, JNI_VERSION_1_6) != JNI_OK)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
//globalMyNativeActivityClass = (*env)->NewGlobalRef(env, (*env)->FindClass(env, "com/retroarch/browser/RetroActivity"));
|
|
||||||
|
|
||||||
return JNI_VERSION_1_6;
|
return JNI_VERSION_1_6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
|
|
||||||
#include "../../thread.h"
|
#include "../../thread.h"
|
||||||
|
|
||||||
extern jclass globalMyNativeActivityClass;
|
|
||||||
|
|
||||||
struct android_app
|
struct android_app
|
||||||
{
|
{
|
||||||
ANativeActivity* activity;
|
ANativeActivity* activity;
|
||||||
|
|
Loading…
Reference in New Issue