Created service 'bugreportplus'

This service is an enhanced version of bugreport that provides a better
user interface (like displaying progress and allowing user to enter
details).

It will be  typically triggered by the 'Take Bug Report' UI, which will
now offer the option for the traditional or enhanced options (services
'bugreport' and 'bugreportplus' respectively).

BUG: 26034608
Change-Id: I39ea92c3e329a801b51f60a558c73faaf890c068
This commit is contained in:
Felipe Leme 2015-12-04 14:51:38 -08:00
parent c2ac8aec48
commit 171b5d8be3
1 changed files with 10 additions and 0 deletions

View File

@ -593,3 +593,13 @@ on property:ro.debuggable=1
service flash_recovery /system/bin/install-recovery.sh
class main
oneshot
# bugreportplus is an enhanced version of bugreport that provides a better
# user interface (like displaying progress and allowing user to enter details).
# It's typically triggered by the power button or developer settings.
# TODO: remove the -p option when screenshot is taken by Shell
service bugreportplus /system/bin/dumpstate -d -p -B -P -z \
-o /data/data/com.android.shell/files/bugreports/bugreport
class main
disabled
oneshot