summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/dumpstate.cpp
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-04-29 01:01:13 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-04-29 01:01:13 +0000
commitb5075fb211cd34e207f996d4c7d7432896fc1dbc (patch)
tree3306cce75fcc44b643f2751e44a17ad62becc9f9 /cmds/dumpstate/dumpstate.cpp
parente9b40dab06dd80182e8218c758dff1be64398b04 (diff)
parent78a0d84124829bee700146a45e7ef5504b18d810 (diff)
Merge "Add PackageDexUse file to dumpstate"
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index f535605dea..f64ddc3b0f 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -163,6 +163,7 @@ void add_mountinfo();
#define OTA_METADATA_DIR "/metadata/ota"
#define SNAPSHOTCTL_LOG_DIR "/data/misc/snapshotctl_log"
#define LINKERCONFIG_DIR "/linkerconfig"
+#define PACKAGE_DEX_USE_LIST "/data/system/package-dex-usage.list"
// TODO(narayan): Since this information has to be kept in sync
// with tombstoned, we should just put it in a common header.
@@ -1574,6 +1575,7 @@ static Dumpstate::RunStatus DumpstateDefault() {
if (!PropertiesHelper::IsUserBuild()) {
ds.AddDir(PROFILE_DATA_DIR_CUR, true);
ds.AddDir(PROFILE_DATA_DIR_REF, true);
+ ds.AddZipEntry(ZIP_ROOT_DIR + PACKAGE_DEX_USE_LIST, PACKAGE_DEX_USE_LIST);
}
ds.AddDir(PREREBOOT_DATA_DIR, false);
add_mountinfo();