OSDN Git Service

Add notification_title and notification_description to dumpstate
authorNaveen Kalla <mrnaveen@google.com>
Fri, 17 Mar 2017 01:17:25 +0000 (18:17 -0700)
committerNaveen Kalla <mrnaveen@google.com>
Thu, 23 Mar 2017 12:03:58 +0000 (12:03 +0000)
commitb53a1c9b4df27a7a66c9448778eace166a0ce14c
tree1102c9576d9397d3bb117c522262737fdf6c98df
parentba56f5ea261b286ff3dd5525fee2666a401b3ce8
Add notification_title and notification_description to dumpstate

Initiator of dumpstate can set dumpstate.options.title and
dumpstate.options.description properties to notify dumpstate the details
that will be used to file a bug. dumpstate will send this information
along with the BUGREPORT_FINISHED intent.

Bug: 33561517
Test: Use the new API to invoke bugreport from TelephonyMonitor and
      ensure that the bugreport is taken and title and description are
      updated properly in the notification. Run dumpstate and
      BugreportReceiver unit tests

Change-Id: Ia23a3ef4d5751be14f347ac38ef7c8a18f79799d
cmds/dumpstate/DumpstateService.cpp
cmds/dumpstate/dumpstate.cpp
cmds/dumpstate/dumpstate.h