From ee2e4a01f9ca9aae7ee111abcd5c139fc810bf65 Mon Sep 17 00:00:00 2001 From: Felipe Leme Date: Mon, 22 Feb 2016 18:12:11 -0800 Subject: Send max duration when bugreport is finished so Shell can update metrics. BUG: 26759986 Change-Id: If599bfb2558c523e64fd6f176eeb494d3e116928 --- cmds/dumpstate/dumpstate.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cmds/dumpstate/dumpstate.cpp') diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 128681fc3a..b553390f1e 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1352,6 +1352,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 }; -- cgit v1.2.3-59-g8ed1b