diff options
| author | JosJuice <josjuice@gmail.com> | 2023-11-25 13:43:04 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2023-11-25 14:06:29 +0100 |
| commit | 5bda811a006e64e913c80c288a2171e6ca81b282 (patch) | |
| tree | 95424886ae4aea97f1e27bfef1533cf1d6d3c490 /Source/Android/jni/MainAndroid.cpp | |
| parent | f79c88f30b65a680f40cdc242205c315dba8d412 (diff) | |
Android: Remove HostThreadLocks that are no longer needed
71ce8bb6f00f4d1cbc1012270d6daefdbda4254d got rid of the need to be the
host or CPU thread when writing to the config.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 8724b8449e..5741afb9d8 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -531,18 +531,12 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_Initialize(J JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_ReportStartToAnalytics(JNIEnv*, jclass) { - // Identity generation ends up calling config code, and some config callbacks use RunAsCPUThread - HostThreadLock guard; - DolphinAnalytics::Instance().ReportDolphinStart(GetAnalyticValue("DEVICE_TYPE")); } JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GenerateNewStatisticsId(JNIEnv*, jclass) { - // Identity generation ends up calling config code, and some config callbacks use RunAsCPUThread - HostThreadLock guard; - DolphinAnalytics::Instance().GenerateNewIdentity(); } |
