Sunset legacy bugreport methods
Bugreport is now triggered using API and not via broadcasts from
dumpstate. As migration to API flow is stable, we can remove methods and
broadcasts that were used in non-API bugreport flow.
* Finished broadcasts are handled by Shell when onfinished() is called
from dumpstate. This is because dumpstate does not have any information
about the final files (other than their fds).
* Remove system properties title/description as they are handled by
Shell.
* File rename is not handled by dumpstate as it does not own the final
files. File rename is handled by the caller of the API (Shell for
instance).
* Remove system property to read mode and set properties from it. Modify
tests accordingly. Rename extra_options to bugreport_mode.
* Deprecate do_broadcast flag, as finished notification is no longer
handled by dumpstate.
Bug: 136066578
Test: Takes interactive/full bugreport as expected
Test: atest dumpstate_test
Test: adb bugreport (works as expected)
Test: adb bugreport br.zip (works as expected)
Change-Id: Ib39798944c4308ae0c87a22a9164567f249adfff
5 files changed