This commit is contained in:
CsHeng
2017-09-13 16:07:33 +08:00
parent c89f675ccf
commit d3bdd48425
2 changed files with 3 additions and 3 deletions

View File

@ -15,8 +15,8 @@ import okhttp3.OkHttpClient;
public class Injection {
public static boolean appInit(Application application) {
// AppUncaughtHandler appUncaughtHandler = new AppUncaughtHandler(application);
// Thread.setDefaultUncaughtExceptionHandler(appUncaughtHandler);
AppUncaughtHandler appUncaughtHandler = new AppUncaughtHandler(application);
Thread.setDefaultUncaughtExceptionHandler(appUncaughtHandler);
return true;
}