summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2016-02-23 17:54:30 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-02-23 17:54:31 +0000
commitc4e490047a7dd605fb087b71d3b97182e409985c (patch)
treeed85061d33ceb951965f34448ac6e7af23678dda
parentee80c817f7ceb078844510422630df6c527551bc (diff)
parentee2e4a01f9ca9aae7ee111abcd5c139fc810bf65 (diff)
Merge "Send max duration when bugreport is finished so Shell can update metrics." into nyc-dev
-rw-r--r--cmds/dumpstate/dumpstate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index f32fcbbbca..0471fc04eb 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1351,6 +1351,7 @@ int main(int argc, char *argv[]) {
"--receiver-permission", "android.permission.DUMP", "--receiver-foreground",
"--ei", "android.intent.extra.ID", std::to_string(id),
"--ei", "android.intent.extra.PID", std::to_string(getpid()),
+ "--ei", "android.intent.extra.MAX", std::to_string(weight_total),
"--es", "android.intent.extra.BUGREPORT", path,
"--es", "android.intent.extra.DUMPSTATE_LOG", log_path
};