diff options
| author | 2018-11-16 14:14:12 +0000 | |
|---|---|---|
| committer | 2018-11-16 14:14:12 +0000 | |
| commit | 15b89d799f87f3893126ecceaef8fa482e8c2b8e (patch) | |
| tree | d6077f0c8ed6ca682f8f50f7944d21539785b7d1 /cmds/dumpstate/dumpstate.cpp | |
| parent | cde4890db49e59983c20aa174d893fec125ddbb3 (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.cpp | 2 |
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); |