More enfironment information

This commit is contained in:
Martin Fietz 2015-12-19 19:45:54 +01:00
parent 755bdc5afb
commit e6564cecbd
2 changed files with 6 additions and 1 deletions

View File

@ -34,8 +34,11 @@ public class CrashReportWriter implements Thread.UncaughtExceptionHandler {
out = new PrintWriter(new FileWriter(path)); out = new PrintWriter(new FileWriter(path));
out.println("[ Environment ]"); out.println("[ Environment ]");
out.println("Android version: " + Build.VERSION.RELEASE); out.println("Android version: " + Build.VERSION.RELEASE);
out.println("OS version: " + System.getProperty("os.version"));
out.println("AntennaPod version: " + BuildConfig.VERSION_NAME); out.println("AntennaPod version: " + BuildConfig.VERSION_NAME);
out.println("Phone model: " + Build.MODEL); out.println("Model: " + Build.MODEL);
out.println("Device: " + Build.DEVICE);
out.println("Product: " + Build.PRODUCT);
out.println(); out.println();
out.println("[ StackTrace ]"); out.println("[ StackTrace ]");
ex.printStackTrace(out); ex.printStackTrace(out);

View File

@ -64,6 +64,8 @@ public class PodcastApp extends Application {
Iconify.with(new FontAwesomeModule()); Iconify.with(new FontAwesomeModule());
SPAUtil.sendSPAppsQueryFeedsIntent(this); SPAUtil.sendSPAppsQueryFeedsIntent(this);
throw new NullPointerException();
} }
} }