mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Attempt to workaround crash
This commit is contained in:
@@ -54,7 +54,15 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
|
||||
prefs.registerOnSharedPreferenceChangeListener(this);
|
||||
|
||||
if (eula) {
|
||||
super.onCreate(savedInstanceState);
|
||||
try {
|
||||
super.onCreate(savedInstanceState);
|
||||
} catch (RuntimeException ex) {
|
||||
Log.e(ex);
|
||||
// https://issuetracker.google.com/issues/181805603
|
||||
finish();
|
||||
startActivity(getIntent());
|
||||
return;
|
||||
}
|
||||
|
||||
long start = new Date().getTime();
|
||||
Log.i("Main boot");
|
||||
|
||||
Reference in New Issue
Block a user