[RESTRICT AUTOMERGE] Add starting silent bugreporting

When headless bugreport started, it changes the
BugReportService status, and when the regular bugreport
is started, it will show a message saying
"bugreport is in progress".

- Now the progress notification is clickable,
  and opens bugreport info activity.
- "Upload" button renamed to "Upload to Google".
- Now user action buttons are hidden by default,
  they become visible when user action is needed,
  e.g. copy to USB, upload to google, or in the next
  cl - add audio message.
- Added sqlite3 column "type" to table
  "bugreports", value can be one of
  MetaBugReport.Type.INTERACTIVE and SILENT.
  Silent bugreports are not uploaded automatically,
  and BugReport app will allow adding audio message
  in the future.
- Added bugreports DB version 2, added migration from
  version 1 to version 2.
- Added new field MetaBugReport.getType,
  returns int.
- Changed bugreport title color to yellow to emphasize.

Test: on volvo bench
Bug: 143162692
Change-Id: I1e9dbc47bc3bf79c0a151a95a0faf689e4d875c1
(cherry picked from commit bb8417751d64f12deb8ce1bca50e761d99d89921)
11 files changed
tree: ec7c5b376d659fb7133c41c8f5af16f834f7fd8a
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-lib/
  4. car-maps-placeholder/
  5. car-systemtest-lib/
  6. car-test-lib/
  7. car-usb-handler/
  8. car_product/
  9. EncryptionRunner/
  10. evs/
  11. FrameworkPackageStubs/
  12. obd2-lib/
  13. procfs-inspector/
  14. service/
  15. tests/
  16. tools/
  17. user/
  18. vehicle-hal-support-lib/
  19. .clang-format
  20. .gitignore
  21. Android.mk
  22. CleanSpec.mk
  23. OWNERS
  24. PREUPLOAD.cfg
  25. README.md
README.md

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.