Added uuid to debug info for cross referencing

This commit is contained in:
M66B 2019-05-29 08:51:20 +02:00
parent 59ce40f9a4
commit 74e99f6a3f
1 changed files with 5 additions and 0 deletions

View File

@ -267,6 +267,11 @@ public class Log {
sb.append(String.format("Data saving: %b\r\n", saving));
}
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
String uuid = prefs.getString("uuid", null);
sb.append(String.format("UUID: %s\r\n", uuid == null ? "-" : uuid));
sb.append("\r\n");
sb.append(new Date().toString()).append("\r\n");