mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Suppress uuid if not reporting
This commit is contained in:
@@ -864,6 +864,7 @@ public class Helper {
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
String language = prefs.getString("language", null);
|
||||
boolean reporting = prefs.getBoolean("crash_reports", false);
|
||||
String uuid = prefs.getString("uuid", null);
|
||||
Locale slocale = Resources.getSystem().getConfiguration().locale;
|
||||
|
||||
@@ -873,7 +874,7 @@ public class Helper {
|
||||
html += "Locale: " + Html.escapeHtml(slocale.toString()) + "<br>";
|
||||
if (language != null)
|
||||
html += "Language: " + Html.escapeHtml(language) + "<br>";
|
||||
if (uuid != null)
|
||||
if (reporting && uuid != null)
|
||||
html += "UUID: " + Html.escapeHtml(uuid) + "<br>";
|
||||
html += "</p>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user