From b9771e0bc727fc64bcca4c98ca9e0fe14eaae3f5 Mon Sep 17 00:00:00 2001 From: Abhishek Arpure Date: Tue, 23 Jun 2015 14:35:34 +0530 Subject: [PATCH] Enable bugreport collection from developer settings Add bugreport service to enable bugreport collection from developer settings. Change-Id: Ifd2078d8e7eb259162f482f7c8c5a38491666421 CRs-Fixed: 855805 --- rootdir/etc/init.qcom.rc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 286dc7e13..14824bc65 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -945,3 +945,10 @@ service RIDL /system/vendor/bin/RIDLClient.exe class late_start user root group root + +# bugreport is triggered by developer options +service bugreport /system/bin/dumpstate -d -p -B \ + -o /data/data/com.android.shell/files/bugreports/bugreport + class main + disabled + oneshot