OSDN Git Service

Allows users to add details about a bugreport in progress.
authorFelipe Leme <felipeal@google.com>
Fri, 11 Dec 2015 23:07:14 +0000 (15:07 -0800)
committerFelipe Leme <felipeal@google.com>
Wed, 16 Dec 2015 19:36:04 +0000 (11:36 -0800)
commitbc73ffc06fd2b5b30802cc7e8874a986626b897d
tree10a446a0a7f4eaf813aee1e4a7186c140fbcae34
parent5144d154b5bdea65000d349fee958a303083aa99
Allows users to add details about a bugreport in progress.

The "bugreport in progress" notification now have a "DETAILS" button
that when clicked opens a dialog window displaying the following fields:

  - Name: short name for the bugreport, will be used as part of the
    final files (and by default is the timestamp sent by dumpstate)
  - Title: a 1-line title for the bugreport, will be used as the subject
    in the final message.
  - Description: a detailed description for the bug.

The main advantage of such dialog is that it allows users to enter more
info about a bugreport while it's being generated, rather then when the
bugreport is finished (since of the user doesn't remember what the
context was when the problem happened).

BUG: 25794470
BUG: 10676443
Change-Id: I0d1dba2a94ad989e541415a2a59475619a2e3d13
packages/Shell/res/layout/dialog_bugreport_info.xml [new file with mode: 0644]
packages/Shell/res/values/strings.xml
packages/Shell/src/com/android/shell/BugreportProgressService.java
packages/Shell/tests/Android.mk
packages/Shell/tests/src/com/android/shell/BugreportReceiverTest.java
packages/Shell/tests/src/com/android/shell/UiBot.java
packages/Shell/tests/src/com/android/shell/UtilitiesTest.java [new file with mode: 0644]