OSDN Git Service

additional scripts for emailing bugreports after capture
authorGuang Zhu <guangzhu@google.com>
Wed, 20 Jul 2011 01:44:41 +0000 (18:44 -0700)
committerGuang Zhu <guangzhu@google.com>
Wed, 20 Jul 2011 01:58:50 +0000 (18:58 -0700)
commit8c658e058446ad69fb056b2160340d708582b9ee
tree4e1ebf03ed0d45cd6bf02c01e96f5c08a2fa381a
parente9eeec84408d01bf56b9297125a2ebc2638344c8
additional scripts for emailing bugreports after capture

First script calls dumpsys to generate the bugreport, second
script launches a cmd line tool that queries account manager
for possible accounts to set as "to:" field and launches an
intent to mail the bugreport out

This is done in 2 steps because it's more convenient to look
up account for emailing with a framework context, but to make
sure bugreport is captured, using dumpsys from shell script
is more reliable in case Dalvik VM crashes.

Change-Id: Ibb54ac793bbd59f016db9fe98118155168c9371e
bugmailer/Android.mk [new file with mode: 0644]
bugmailer/bugmailer.sh
bugmailer/send_bug [new file with mode: 0755]
bugmailer/src/com/android/commands/sendbug/SendBug.java [new file with mode: 0644]