mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Update error activity create to use application context
(cherry picked from commit 308a7e5f672bfd39316694f5eccd942a9c398596)
This commit is contained in:
parent
91116d3f2e
commit
33e62fda72
@ -34,7 +34,7 @@ public class SplashActivity extends BaseActivity {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
if (!BuildConfig.DEBUG) {
|
||||
Context appContext = this;
|
||||
Context appContext = getApplicationContext();
|
||||
Thread.setDefaultUncaughtExceptionHandler((paramThread, paramThrowable) -> {
|
||||
|
||||
final Intent intent = new Intent(appContext, ErrorActivity.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user