dumpstate: Add /data/misc/recovery
am: d6ab011
* commit 'd6ab01105bbd80dfa2fc2debc8e31d6422c378ee':
dumpstate: Add /data/misc/recovery
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 78da143..bb485bf 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -68,6 +68,7 @@
#define RAFT_DIR "/data/misc/raft/"
#define RECOVERY_DIR "/cache/recovery"
+#define RECOVERY_DATA_DIR "/data/misc/recovery"
#define TOMBSTONE_DIR "/data/tombstones"
#define TOMBSTONE_FILE_PREFIX TOMBSTONE_DIR "/tombstone_"
/* Can accomodate a tombstone number up to 9999. */
@@ -1259,6 +1260,7 @@
/* Get the tombstone fds, recovery files, and mount info here while we are running as root. */
get_tombstone_fds(tombstone_data);
add_dir(RECOVERY_DIR, true);
+ add_dir(RECOVERY_DATA_DIR, true);
add_mountinfo();
if (!drop_root_user()) {