summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-03-13 17:09:39 -0700
committerJeff Sharkey <jsharkey@android.com>2013-03-13 17:09:39 -0700
commitd48b645a65845fa73b667b2a0fcbebf1b3736bf6 (patch)
tree247560157ea422b551e26c3ac9946d285f8a0648
parentd462d86cb9767652051d370d2c96fba3edec2596 (diff)
downloaddevice_samsung_tuna-d48b645a65845fa73b667b2a0fcbebf1b3736bf6.zip
device_samsung_tuna-d48b645a65845fa73b667b2a0fcbebf1b3736bf6.tar.gz
device_samsung_tuna-d48b645a65845fa73b667b2a0fcbebf1b3736bf6.tar.bz2
Use dumpstate directly for bugreports.
Use new broadcast flag on dumpstate to notify framework when a bugreport finished. Remove older shell scripts. Bug: 7005318 Change-Id: I61cdc31273c704dc2b6fdbb6ef58ee77dc5db6df
-rw-r--r--device.mk6
-rwxr-xr-xinit.tuna.rc3
2 files changed, 2 insertions, 7 deletions
diff --git a/device.mk b/device.mk
index 32e78f0..3501de9 100644
--- a/device.mk
+++ b/device.mk
@@ -198,12 +198,6 @@ PRODUCT_PACKAGES += \
e2fsck \
setup_fs
-# for bugmailer
-PRODUCT_PACKAGES += send_bug
-PRODUCT_COPY_FILES += \
- system/extras/bugmailer/bugmailer.sh:system/bin/bugmailer.sh \
- system/extras/bugmailer/send_bug:system/bin/send_bug
-
$(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/nxp/pn544/nxp-pn544-fw-vendor.mk)
diff --git a/init.tuna.rc b/init.tuna.rc
index c171667..6392b12 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -224,7 +224,8 @@ service iprenew_eth0 /system/bin/dhcpcd -n
oneshot
# bugreport is triggered by holding down volume down, volume up and power
-service bugreport /system/bin/bugmailer.sh -v
+service bugreport /system/bin/dumpstate -d -p -B \
+ -o /data/data/com.android.shell/files/bugreports/bugreport
class main
disabled
oneshot