Delete bugreports when Show BugReports button is clicked.

Delete the bugreport from database, otherwise pressing
"Show Bugreports" button will create unnecessary cancelled
bugreports.

Remove CLEAR_TOP when starting BugReportInfo activity,
otherwise clicking Show BugReports is making
BugReportInfo activity to blink.

Bug: 135781814
Test: tested on a hawk rig
Change-Id: I284f45ed669b12f6e4739691ade47291103d713b
2 files changed
tree: df191f89973a6c34f60f3b09c24d95ae669fff49
  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.