Remove notifications from bugreport generation using combo keys

In Q, we added a new bugreport API that asks for user consent before
showing the "Share" notification for the bugreport. We will be migrating
all bugreporting clients to use the API in R.

In the new API workflow we are moving away from broadcasts and using
callbacks to communicate with dumpstate. Finished bugreport notification
broadcast used to share the final path of the bugreport but API now uses
file descriptors instead. Hence, moving away from broadcasts.

The full bugreport in this case can be retrieved from dumpstate directory
using 'adb pull' or finding and attaching the file directly to gmail or
betterbug.

Remove outputfile flag since it's unused.

Bug: 135186519
Bug: 137825702
Test: Build and flash to the device. Create a bugreport using combo
keys, share notification does not pop up. Full bugreport created in
bugreports/ dir

Change-Id: I3c15123a6a4ed62ae9cb87f5dd07db60b1416dfc
gugelfrei
Abhijeet Kaur 5 years ago committed by Michael Bestas
parent 0ca690066f
commit 5412f813b0

@ -10,8 +10,7 @@ on post-fs-data
chmod 0640 /dev/fscklogs/log
# bugreport is triggered by holding down volume down, volume up and power
service bugreport /system/bin/dumpstate -d -p -B -z \
-o /data/user_de/0/com.android.shell/files/bugreports/bugreport
service bugreport /system/bin/dumpstate -d -p -z
oneshot
disabled
keycodes 114 115 116

Loading…
Cancel
Save