diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.kt index c8aa483d5815..5f3d2fc3cb6f 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.kt +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Analytics.kt @@ -20,7 +20,7 @@ object Analytics { @JvmStatic fun checkAnalyticsInit(activity: FragmentActivity) { - AfterDirectoryInitializationRunner().runWithoutLifecycle { + AfterDirectoryInitializationRunner().runWithLifecycle(activity) { if (!BooleanSetting.MAIN_ANALYTICS_PERMISSION_ASKED.boolean) { AnalyticsDialog().show(activity.supportFragmentManager, AnalyticsDialog.TAG) }