diff options
Diffstat (limited to 'firmware/target/hosted/android/system-android.c')
-rw-r--r-- | firmware/target/hosted/android/system-android.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/system-android.c b/firmware/target/hosted/android/system-android.c index d96edcd637..313bfbcd62 100644 --- a/firmware/target/hosted/android/system-android.c +++ b/firmware/target/hosted/android/system-android.c @@ -23,6 +23,7 @@ #include <setjmp.h> #include <jni.h> #include <pthread.h> +#include <unistd.h> #include "config.h" #include "system.h" #include "power.h" @@ -66,6 +67,17 @@ void system_init(void) telephony_init_device(); } +void hostfs_init(void) +{ + /* stub */ +} + +int hostfs_flush(void) +{ + sync(); + return 0; +} + JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void* reserved) { |