diff options
| author | LC <mathew1800@gmail.com> | 2020-12-02 11:56:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 11:56:04 -0500 |
| commit | 00f2e0e494f644d0a559dc92f9eb94be0fab6913 (patch) | |
| tree | 9d85777c6f2b9d92a461913a5fabdf7f96da1f49 /Source/Android/jni/MainAndroid.cpp | |
| parent | 5abae61a8c7e0e4ac03bb8d3031793037e87fdd3 (diff) | |
| parent | aaafb9ba0414057ac89bf3f20591338e6608b1d7 (diff) | |
Merge pull request #9303 from Ebola16/AStat
Android: Add "Generate a New Statistics Identity"
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index 6fe6da3b61..71c4fac565 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -469,6 +469,12 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_ReportStartT DolphinAnalytics::Instance().ReportDolphinStart(GetAnalyticValue("DEVICE_TYPE")); } +JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GenerateNewStatisticsId(JNIEnv*, + jclass) +{ + DolphinAnalytics::Instance().GenerateNewIdentity(); +} + // Returns the scale factor for imgui rendering. // Based on the scaledDensity of the device's display metrics. static float GetRenderSurfaceScale(JNIEnv* env) |
