mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
uuid is useful only when reporting is enabled
This commit is contained in:
parent
45c01d39a4
commit
965dfdb84b
1 changed files with 5 additions and 3 deletions
|
@ -270,9 +270,11 @@ public class Log {
|
|||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
String uuid = prefs.getString("uuid", null);
|
||||
|
||||
sb.append(String.format("UUID: %s\r\n", uuid == null ? "-" : uuid));
|
||||
boolean reporting = prefs.getBoolean("crash_reports", false);
|
||||
if (reporting) {
|
||||
String uuid = prefs.getString("uuid", null);
|
||||
sb.append(String.format("UUID: %s\r\n", uuid == null ? "-" : uuid));
|
||||
}
|
||||
|
||||
sb.append("\r\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue