commit | db313f6b27743d37098159c0b4d50b91f84bda55 | [log] [tgz] |
---|---|---|
author | Abhijeet Kaur <abkaur@google.com> | Thu Sep 26 09:48:42 2019 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Sep 26 09:48:42 2019 +0000 |
tree | bb98f7ccf12e86d300fea4673b6e55ca951ff966 | |
parent | 22126b3c8e6186b3ac320f6fbfc447a52872677b [diff] | |
parent | 69b479a4de8911eb2a3ea76a185953fa756acf53 [diff] |
Merge "Do not send finished broadcasts when called by API"
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 86558ef..302d491 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp
@@ -2708,7 +2708,7 @@ } /* tell activity manager we're done */ - if (options_->do_broadcast) { + if (options_->do_broadcast && !CalledByApi()) { SendBugreportFinishedBroadcast(); // Note that listener_ is notified in Run(); }