Skip to content
Snippets Groups Projects
Commit 15511685 authored by Loïc Blot's avatar Loïc Blot
Browse files

Android: Backport changes from stable-0.4

parent aa085bf2
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ GAMES_TO_COPY = minetest_game
# Android Version code
# Increase for each build!
################################################################################
ANDROID_VERSION_CODE = 7
ANDROID_VERSION_CODE = 10
################################################################################
# toolchain config for arm old processors
......
......@@ -71,10 +71,10 @@ void android_main(android_app *app)
/* TODO this doesn't work as expected, no idea why but there's a workaround */
/* for it right now */
extern "C" {
JNIEXPORT void JNICALL Java_org_minetest_MtNativeActivity_putMessageBoxResult(
JNIEXPORT void JNICALL Java_net_minetest_MtNativeActivity_putMessageBoxResult(
JNIEnv * env, jclass thiz, jstring text)
{
errorstream << "Java_org_minetest_MtNativeActivity_putMessageBoxResult got: "
errorstream << "Java_net_minetest_MtNativeActivity_putMessageBoxResult got: "
<< std::string((const char*)env->GetStringChars(text,0))
<< std::endl;
}
......@@ -138,7 +138,7 @@ void initAndroid()
exit(-1);
}
nativeActivity = findClass("org/minetest/minetest/MtNativeActivity");
nativeActivity = findClass("net/minetest/minetest/MtNativeActivity");
if (nativeActivity == 0) {
errorstream <<
"porting::initAndroid unable to find java native activity class" <<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment