OSDN Git Service

Moved 'bugreportplus' from init.rc to dumpstate.rc
authorFelipe Leme <felipeal@google.com>
Mon, 14 Dec 2015 20:46:00 +0000 (12:46 -0800)
committerFelipe Leme <felipeal@google.com>
Mon, 14 Dec 2015 21:41:11 +0000 (13:41 -0800)
BUG: 26034608
Change-Id: I633a5c0ca34ab60cfd5b9c8052b546970288d9d6

cmds/dumpstate/dumpstate.rc

index 4cd1803..e21fd7c 100644 (file)
@@ -8,3 +8,13 @@ service dumpstate /system/bin/dumpstate -s
     socket dumpstate stream 0660 shell log
     disabled
     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