diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/android/id_cache.cpp (renamed from src/android/app/src/main/jni/id_cache.cpp) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/android/app/src/main/jni/id_cache.cpp b/src/common/android/id_cache.cpp index f30100bd8..f39262db9 100644 --- a/src/android/app/src/main/jni/id_cache.cpp +++ b/src/common/android/id_cache.cpp | |||
| @@ -3,10 +3,10 @@ | |||
| 3 | 3 | ||
| 4 | #include <jni.h> | 4 | #include <jni.h> |
| 5 | 5 | ||
| 6 | #include "applets/software_keyboard.h" | ||
| 7 | #include "common/android/id_cache.h" | ||
| 6 | #include "common/assert.h" | 8 | #include "common/assert.h" |
| 7 | #include "common/fs/fs_android.h" | 9 | #include "common/fs/fs_android.h" |
| 8 | #include "jni/applets/software_keyboard.h" | ||
| 9 | #include "jni/id_cache.h" | ||
| 10 | #include "video_core/rasterizer_interface.h" | 10 | #include "video_core/rasterizer_interface.h" |
| 11 | 11 | ||
| 12 | static JavaVM* s_java_vm; | 12 | static JavaVM* s_java_vm; |
| @@ -67,7 +67,7 @@ static jfieldID s_boolean_value_field; | |||
| 67 | 67 | ||
| 68 | static constexpr jint JNI_VERSION = JNI_VERSION_1_6; | 68 | static constexpr jint JNI_VERSION = JNI_VERSION_1_6; |
| 69 | 69 | ||
| 70 | namespace IDCache { | 70 | namespace Common::Android { |
| 71 | 71 | ||
| 72 | JNIEnv* GetEnvForThread() { | 72 | JNIEnv* GetEnvForThread() { |
| 73 | thread_local static struct OwnedEnv { | 73 | thread_local static struct OwnedEnv { |
| @@ -276,8 +276,6 @@ jfieldID GetBooleanValueField() { | |||
| 276 | return s_boolean_value_field; | 276 | return s_boolean_value_field; |
| 277 | } | 277 | } |
| 278 | 278 | ||
| 279 | } // namespace IDCache | ||
| 280 | |||
| 281 | #ifdef __cplusplus | 279 | #ifdef __cplusplus |
| 282 | extern "C" { | 280 | extern "C" { |
| 283 | #endif | 281 | #endif |
| @@ -393,7 +391,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { | |||
| 393 | Common::FS::Android::RegisterCallbacks(env, s_native_library_class); | 391 | Common::FS::Android::RegisterCallbacks(env, s_native_library_class); |
| 394 | 392 | ||
| 395 | // Initialize applets | 393 | // Initialize applets |
| 396 | SoftwareKeyboard::InitJNI(env); | 394 | Common::Android::SoftwareKeyboard::InitJNI(env); |
| 397 | 395 | ||
| 398 | return JNI_VERSION; | 396 | return JNI_VERSION; |
| 399 | } | 397 | } |
| @@ -426,3 +424,5 @@ void JNI_OnUnload(JavaVM* vm, void* reserved) { | |||
| 426 | #ifdef __cplusplus | 424 | #ifdef __cplusplus |
| 427 | } | 425 | } |
| 428 | #endif | 426 | #endif |
| 427 | |||
| 428 | } // namespace Common::Android | ||