mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
uuid is useful only when reporting is enabled
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user