Remove enum logic from callers of requestbugreport()
Make callers use wrapper functions in ActivityManagerService.java.
requestTelephonyBugReport and requestWifiBugreports have already
existing wrapper functions which take 2 string parameters for title and
description. Passing empty strings in the cases where no title and
description is set.
Bug: 141355059
Bug: 137825297
Test: * builds
* `adb shell am bug-report` takes full bugreport. Shows share
notification
* `adb shell am bug-report --progress` takes interactive
bugreport. Shows progress notification and share notification
* `adb shell am bug-report --telephony` takes telephony bugreport.
Shows share notification.
Change-Id: Ibe479f4335613bfbddc65607ba89ad1805fcba9e
5 files changed