mirror of https://github.com/M66B/FairEmail.git
Debug: small improvement
This commit is contained in:
parent
5c00c77dfe
commit
9f829dcec8
|
@ -275,10 +275,9 @@ public class DebugHelper {
|
||||||
sb.append(String.format("MIUI: %s\r\n", miui == null ? "-" : miui));
|
sb.append(String.format("MIUI: %s\r\n", miui == null ? "-" : miui));
|
||||||
|
|
||||||
boolean reporting = prefs.getBoolean("crash_reports", false);
|
boolean reporting = prefs.getBoolean("crash_reports", false);
|
||||||
if (reporting || Log.isTestRelease()) {
|
String uuid = (reporting || Log.isTestRelease()
|
||||||
String uuid = prefs.getString("uuid", null);
|
? prefs.getString("uuid", null) : null);
|
||||||
sb.append(String.format("Bugsnag UUID: %s\r\n", uuid == null ? "-" : uuid));
|
sb.append(String.format("Bugsnag UUID: %s\r\n", uuid == null ? "-" : uuid));
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ApplicationInfo app = pm.getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA);
|
ApplicationInfo app = pm.getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA);
|
||||||
|
|
Loading…
Reference in New Issue