remove setDefaultUncaughtExceptionHandler temporary
This commit is contained in:
parent
7518537108
commit
db9b453276
2 changed files with 3 additions and 2 deletions
|
@ -110,7 +110,7 @@ android {
|
|||
targetSdkVersion 28
|
||||
multiDexEnabled true
|
||||
versionCode 1500
|
||||
version "2.6-dev"
|
||||
version "2.6-dev-dagger3"
|
||||
buildConfigField "String", "VERSION", '"' + version + '"'
|
||||
buildConfigField "String", "BUILDVERSION", '"' + generateGitBuild() + '-' + generateDate() + '"'
|
||||
buildConfigField "String", "REMOTE", '"' + generateGitRemote() + '"'
|
||||
|
|
|
@ -174,14 +174,15 @@ public class MainApp extends DaggerApplication {
|
|||
LocaleHelper.INSTANCE.update(this);
|
||||
sDatabaseHelper = OpenHelperManager.getHelper(sInstance, DatabaseHelper.class);
|
||||
|
||||
/* TODO: put back
|
||||
Thread.setDefaultUncaughtExceptionHandler((thread, ex) -> {
|
||||
if (ex instanceof InternalError) {
|
||||
// usually the app trying to spawn a thread while being killed
|
||||
return;
|
||||
}
|
||||
|
||||
log.error("Uncaught exception crashing app", ex);
|
||||
});
|
||||
*/
|
||||
|
||||
try {
|
||||
if (FabricPrivacy.fabricEnabled()) {
|
||||
|
|
Loading…
Reference in a new issue