Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97723b2e authored by Romain Guy's avatar Romain Guy
Browse files

Fix HierarchyViewer so it can load Contacts

Change-Id: I5d5f400a9283f9c2431d91a10f85be42b02fe6a0
parent 4b416885
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -1178,10 +1178,14 @@ public class ViewDebug {

    private static void writeValue(BufferedWriter out, Object value) throws IOException {
        if (value != null) {
            String output = value.toString().replace("\n", "\\n");
            String output = "[EXCEPTION]";
            try {
                output = value.toString().replace("\n", "\\n");
            } finally {
                out.write(String.valueOf(output.length()));
                out.write(",");
                out.write(output);
            }
        } else {
            out.write("4,null");
        }