- Create new BugReportPreferenceControllerV2
- Deprecated BugReportPreferenceController
- Create controller inside the DashboardFragment
- Port logic from DevelopmentSettings into the controller
Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: Ic932bdd8c05f75af5a9390fb4372fb4bbc7d2340
- if the user has restriction for the action
DISALLOW_DEBUGGING_FEATURES, remove the preference for taking bug
report and the switch preference to enable bug report shortcut in the
power key.
- refactor DevelopmentSettings to use preference controller for Take bug
report and enable bug report in power key.
Fixes: 27145643
Test: make RunSettingsRoboTests
Change-Id: I18784d218d37956130c33f527d514ab703727397