diff --git a/oem/firstvoices/android/app/src/main/java/com/firstvoices/keyboards/SystemKeyboard.java b/oem/firstvoices/android/app/src/main/java/com/firstvoices/keyboards/SystemKeyboard.java index 2c0e1cc598..b125c6e5f5 100644 --- a/oem/firstvoices/android/app/src/main/java/com/firstvoices/keyboards/SystemKeyboard.java +++ b/oem/firstvoices/android/app/src/main/java/com/firstvoices/keyboards/SystemKeyboard.java @@ -48,7 +48,7 @@ public class SystemKeyboard extends InputMethodService implements OnKeyboardEven if (DependencyUtil.libraryExists(LibraryType.SENTRY) && !Sentry.isEnabled()) { Log.d(TAG, "Initializing Sentry"); - SentryAndroid.init(context, options -> { + SentryAndroid.init(getApplicationContext(), options -> { options.setRelease(com.firstvoices.keyboards.BuildConfig.VERSION_GIT_TAG); options.setEnvironment(com.firstvoices.keyboards.BuildConfig.VERSION_ENVIRONMENT); });