commit | fcfd389cf9795181f6ede071e0e86a6d6cd0af08 | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Wed Jun 05 09:30:53 2019 -0700 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Thu Jun 06 03:26:11 2019 +0000 |
tree | 2ddc30c98ae3d6e368aed84b708fe4cc99e0c9e2 | |
parent | 8b924da66e2d1ba61fd957986c604b35826b9ef5 [diff] |
Add progressbar to BugReportApp. When BugReport is initiated when dumpstate is in progress by the BugReport app, it will show a dialog with a progress bar and numeric value of the progress. When dumpstate finishes, it changes the title to "bug report collected", it doesn't close the dialog. Bug: 134530860 Change-Id: I2e768d47b8122e3cd67e7872c5373d901cc8e3d6 Test: tested on a hawk rig - took bugreport, uploaded, clicked start bugreport shortcut when it's running, it shows a progress. (cherry picked from commit ca85bfd52e652589f1fbf7dfecc50a6c003a0242)
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.