summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libc.c2
-rw-r--r--src/libjvm-android.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libc.c b/src/libc.c
index 39292a6..6430c1b 100644
--- a/src/libc.c
+++ b/src/libc.c
@@ -50,7 +50,7 @@ __system_property_get(const char *name, char *value)
verbose("%s", name);
if (!strcmp(name, "ro.build.version.sdk"))
- return snprintf(value, PROP_VALUE_MAX, "%d", INT_MAX);
+ return snprintf(value, PROP_VALUE_MAX, "%d", 15);
*value = 0;
return 0;
diff --git a/src/libjvm-android.c b/src/libjvm-android.c
index 2e66339..d500dc7 100644
--- a/src/libjvm-android.c
+++ b/src/libjvm-android.c
@@ -41,7 +41,7 @@ jint
android_os_Build_VERSION_SDK_INT(JNIEnv *env, jobject object)
{
assert(env && object);
- return INT_MAX; // Always the latest and greatest, XXX: maybe tunable, as can change app behaviour
+ return 15; // >15 needs android.view.Choreographer to work correctly, XXX: maybe tunable, as can change app behaviour
}
jstring