mirror of https://github.com/M66B/FairEmail.git
uuid is useful only when reporting is enabled
This commit is contained in:
parent
45c01d39a4
commit
965dfdb84b
|
@ -270,9 +270,11 @@ public class Log {
|
||||||
}
|
}
|
||||||
|
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
String uuid = prefs.getString("uuid", null);
|
boolean reporting = prefs.getBoolean("crash_reports", false);
|
||||||
|
if (reporting) {
|
||||||
sb.append(String.format("UUID: %s\r\n", uuid == null ? "-" : uuid));
|
String uuid = prefs.getString("uuid", null);
|
||||||
|
sb.append(String.format("UUID: %s\r\n", uuid == null ? "-" : uuid));
|
||||||
|
}
|
||||||
|
|
||||||
sb.append("\r\n");
|
sb.append("\r\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue