diff options
| author | 2016-03-25 12:56:39 -0700 | |
|---|---|---|
| committer | 2016-03-25 21:34:36 +0000 | |
| commit | d6ab01105bbd80dfa2fc2debc8e31d6422c378ee (patch) | |
| tree | 9e6f37f78005bddee3a6b82cddb69f55cd16fcfd /cmds/dumpstate/dumpstate.cpp | |
| parent | 7ff357ab080d0f3330a5642124a352f745d816bb (diff) | |
dumpstate: Add /data/misc/recovery
(cherry picked from commit 23e86e91ff971a00f62954833a17df2dad1a13af)
Bug: 27176738
Change-Id: Ibc2342c6a29e5aebcac4875d7c2eed48fa8af7de
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 78da14379d..bb485bfdee 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -68,6 +68,7 @@ static bool add_zip_entry_from_fd(const std::string& entry_name, int fd); #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 @@ int main(int argc, char *argv[]) { /* 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()) { |