summaryrefslogtreecommitdiff
path: root/Source/Android/jni/MainAndroid.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-11-25 13:43:04 +0100
committerJosJuice <josjuice@gmail.com>2023-11-25 14:06:29 +0100
commit5bda811a006e64e913c80c288a2171e6ca81b282 (patch)
tree95424886ae4aea97f1e27bfef1533cf1d6d3c490 /Source/Android/jni/MainAndroid.cpp
parentf79c88f30b65a680f40cdc242205c315dba8d412 (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.cpp6
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();
}