|
|
|
@ -267,6 +267,7 @@ public class Log {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static void setupBugsnag(final Context context) {
|
|
|
|
|
try {
|
|
|
|
|
// https://docs.bugsnag.com/platforms/android/sdk/
|
|
|
|
|
com.bugsnag.android.Configuration config =
|
|
|
|
|
new com.bugsnag.android.Configuration("9d2d57476a0614974449a3ec33f2604a");
|
|
|
|
@ -451,6 +452,18 @@ public class Log {
|
|
|
|
|
|
|
|
|
|
if (prefs.getBoolean("crash_reports", false))
|
|
|
|
|
Bugsnag.startSession();
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
/*
|
|
|
|
|
java.lang.AssertionError: No NameTypeIndex match for SHORT_DAYLIGHT
|
|
|
|
|
at android.icu.impl.TimeZoneNamesImpl$ZNames.getNameTypeIndex(TimeZoneNamesImpl.java:724)
|
|
|
|
|
at android.icu.impl.TimeZoneNamesImpl$ZNames.getName(TimeZoneNamesImpl.java:790)
|
|
|
|
|
at android.icu.impl.TimeZoneNamesImpl.getTimeZoneDisplayName(TimeZoneNamesImpl.java:183)
|
|
|
|
|
at android.icu.text.TimeZoneNames.getDisplayName(TimeZoneNames.java:261)
|
|
|
|
|
at java.util.TimeZone.getDisplayName(TimeZone.java:405)
|
|
|
|
|
at java.util.Date.toString(Date.java:1066)
|
|
|
|
|
*/
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static void logExtras(Intent intent) {
|
|
|
|
|