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
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index f540f32..c158803 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1911,7 +1911,7 @@
             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);