(Context context, Throwable fatal)
| 221 | } |
| 222 | |
| 223 | static void forceCrashReport(Context context, Throwable fatal) { |
| 224 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); |
| 225 | boolean crash_reports = prefs.getBoolean("crash_reports", false); |
| 226 | try { |
| 227 | prefs.edit().putBoolean("crash_reports", true).apply(); |
| 228 | setCrashReporting(true); |
| 229 | Log.e(fatal); |
| 230 | } finally { |
| 231 | prefs.edit().putBoolean("crash_reports", crash_reports).apply(); |
| 232 | setCrashReporting(crash_reports); |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | public static void breadcrumb(String name, Bundle args) { |
| 237 | Map<String, String> crumb = new HashMap<>(); |
no test coverage detected