mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-12 18:47:41 +00:00
fix(android): use getApplicationContext() instead of context
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
This commit is contained in:
parent
0061c7cd5a
commit
c045bf5bf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue