Skip to content
Commit 16207e33 authored by Abhijeet Kaur's avatar Abhijeet Kaur
Browse files

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
parent 70f1945f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment