From aaafb9ba0414057ac89bf3f20591338e6608b1d7 Mon Sep 17 00:00:00 2001 From: Ryan Meredith Date: Mon, 30 Nov 2020 13:20:58 -0500 Subject: Android: Add "Generate a New Statistics Identity" --- Source/Android/jni/MainAndroid.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Android/jni/MainAndroid.cpp') 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) -- cgit v1.2.3