From b2dc712a8e8da0aa1a25d87f64104b5bfd3a56a6 Mon Sep 17 00:00:00 2001 From: Martin Haintz Date: Mon, 16 Sep 2024 16:39:21 +0200 Subject: [PATCH] call public method --- .../src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt index 5a4c2cbea..648ca4d84 100644 --- a/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt +++ b/flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt @@ -171,7 +171,7 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { val appStartMetrics = AppStartMetrics.getInstance() - if (!appStartMetrics.appLaunchedInForeground) { + if (!appStartMetrics.isAppLaunchedInForeground) { Log.w("Sentry", "App not launched in Foreground") result.success(null) }