summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/dumpstate.cpp
diff options
context:
space:
mode:
author Nandana Dutt <nandana@google.com> 2018-11-16 14:14:12 +0000
committer Nandana Dutt <nandana@google.com> 2018-11-16 14:14:12 +0000
commit15b89d799f87f3893126ecceaef8fa482e8c2b8e (patch)
treed6077f0c8ed6ca682f8f50f7944d21539785b7d1 /cmds/dumpstate/dumpstate.cpp
parentcde4890db49e59983c20aa174d893fec125ddbb3 (diff)
Fix missing title in broadcast
BUG:119581493 Test: adb shell setprop dumpstate.options.title xyz && adb shell cmd activity bug-report --progress verify broadcast has TITLE=xyz in log Change-Id: Iad1208c1ff27e1b10d20230b8a6e28e8877f16b5
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index f540f32597..c158803336 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1911,7 +1911,7 @@ static void SendBugreportFinishedBroadcast() {
am_args.push_back("android.intent.extra.SCREENSHOT");
am_args.push_back(ds.screenshot_path_);
}
- if (ds.options_->notification_title.empty()) {
+ if (!ds.options_->notification_title.empty()) {
am_args.push_back("--es");
am_args.push_back("android.intent.extra.TITLE");
am_args.push_back(ds.options_->notification_title);