Debug info: confirm/ask images/html

pull/217/head
M66B 11 months ago
parent f2461acda2
commit 0af07e57b3

@ -624,6 +624,11 @@ public class DebugHelper {
try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
for (String key : new String[]{"confirm_images", "ask_images", "confirm_html", "ask_html"})
size += write(os, String.format("%s=%b\r\n", key, prefs.getBoolean(key, true)));
size += write(os, "\r\n");
Map<String, ?> settings = prefs.getAll();
List<String> keys = new ArrayList<>(settings.keySet());
Collections.sort(keys);

Loading…
Cancel
Save