• Home
  • History
  • Annotate
  • only in /system/extras/bugmailer/
History log of /system/extras/bugmailer/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa98203c441d00d374349ce35c0c7ba2f38cc53a 29-Sep-2012 Dianne Hackborn <hackbod@google.com> More Issue #7211769: Crash dialog from background user has non-working "report"

Bug report needs to be launched for the current user.

Change-Id: I2b8f812ede43fc36c76deab544bacf88dba8fefd
rc/com/android/commands/sendbug/SendBug.java
b568de03db20f124a458d914eed33cee4630bb81 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Build bugreport paths for emulated storage.

Bug: 7152673
Change-Id: Iae7b298721d2b6690ce9b57245400702fb5d0c4c
ugmailer.sh
cf4e11b4f8ba78de68a06b0ad463397d488df522 12-Sep-2012 Jeff Sharkey <jsharkey@android.com> Always read bugreports from EXTERNAL_STORAGE.

Bug: 7152673
Change-Id: Ibff4503ef21816bfe936eeba89183d1647c85043
ugmailer.sh
818b58c3cc3d9f99d65bc9e4e7ff5b80021079ec 04-Sep-2012 Guang Zhu <guangzhu@google.com> Guard against NPE in SendBug

Add some null checks in case that SendBug is invoked while system
server is in fact not running, e.g. during a runtime restart. So
that we don't hit NPE in SendBug, looking suspiciously like the
cause rather than a consequence of the real issue.

Bug: 7097125

Change-Id: I82676ab936fe19a781c32f949e6e429eb4045d63
rc/com/android/commands/sendbug/SendBug.java
46899d1b5d606e9349a40079b60034e3cf6eaafb 24-Aug-2012 Guang Zhu <guangzhu@google.com> Don't use intent chooser

Since it forces user to make selection, not offering an option to
remember the choice. Remove the new task flag, also adds an
explicit default category

Change-Id: I3834a8fa27782d14989e510c0756d36aaeeb2bab
rc/com/android/commands/sendbug/SendBug.java
c8698cb92ef83e96b3c7776be9b47d174095bc15 18-Aug-2012 Guang Zhu <guangzhu@google.com> Explicitly use an intent chooser for sending bugreport

This enables:

1. an explicit title for intent chooser, so that the user is
aware that chosen action is for sending out bugreport

2. the original intent has new task flag that causes
ResolveActivity to finish() when stop()ped. This means that
if intent is fired when screen is off (common scenario now
because bugreport takes a long time), the chooser will not be
shown

Bug: 6864596

Change-Id: I6cce2d1390c8ac24b15d26e9ba80a845222a1c18
rc/com/android/commands/sendbug/SendBug.java
6186a9cb55dae698f048616bb82887565d5779df 16-Aug-2012 Jeff Sharkey <jsharkey@android.com> Support custom path when saving bugreports.

When running on multi-user devices, we need to save bugreport data
to a write path, and launch intents using a different read path.

Bug: 6925012
Change-Id: I32773b733e8a4dd75a30f5b9b05424c4238243af
ugmailer.sh
rc/com/android/commands/sendbug/SendBug.java
9ebc639a313d143ade1293cb5932b446d5e623d5 10-Aug-2012 Guang Zhu <guangzhu@google.com> sendbug improvements on email address handling

* use a property to indicate a preferred domain in case multiple
email addresses are detected; otherwise just pick the first
one that matches email address regex
* don't fire the intent if no email account is configured, there
have been reports on confusing behavior when capturing
bugreport for setup wizard

Bug: 6720467
Change-Id: Ib9b0b8a09e4e565b2531f3ec53723cd46186596f
rc/com/android/commands/sendbug/SendBug.java
0d319b2ee25285e9f037a7589c63512fd312e68e 08-Aug-2012 Keun young Park <keunyoung@google.com> allow java build if supported

- send_bug requires platform API support which is
enabled in PDK fusion build with platform.zip from platform-java build

Change-Id: I3285f595eb2a310a34770d40fa0b7c606669f1bf
ndroid.mk
8d502bc82f31f340b15be7a65fd540127e99b51f 27-Mar-2012 Colin Cross <ccross@android.com> bugmailer: prevent building on pdk builds

bugmailer is in java, so it won't build on pdk builds. It should
probably be moved out of system/extras.

Change-Id: I9423b565cff2078290390fab22d6622a06959b05
ndroid.mk
f591abb39f0634094909af6684a874341fb4f0a4 20-Mar-2012 Amith Yamasani <yamasani@google.com> Pass extra parameter for user id.

Change-Id: I2c2ed833946e18aeabbd7e0a7cb3e515a0d95d4e
rc/com/android/commands/sendbug/SendBug.java
52a5b01997c2cea32c288585769615ce7a60217e 14-Mar-2012 Dianne Hackborn <hackbod@google.com> Update to follow IActivityManager change.

Change-Id: I5ea3fcaffdaaae6bfeb0edd878fc952952012396
rc/com/android/commands/sendbug/SendBug.java
99cefef224f4ceaa1130adce86b74f9a50f6766d 13-Mar-2012 Siva Velusamy <vsiva@google.com> Fix # of arguments to startActivity

Change-Id: I376864150349862e9dcb3b964aa316559c904a4a
rc/com/android/commands/sendbug/SendBug.java
4438300a665d2ad6a159bef8fd03fe854a623445 24-Jan-2012 Kenny Root <kroot@google.com> Only do bugreport on user build with ADB enabled

This makes it less likely that users that don't know what a bugreport is
will trigger it, but leaves the possibility for developers to trigger a
bugreport with a key combo.

Bug: 5866877
Change-Id: Ifc3c5126ec9342880a3635845a89c5a4a40156d2
ugmailer.sh
8beb39758fe046fc19ebee7317949b9ba7ee97dd 20-Oct-2011 Guang Zhu <guangzhu@google.com> Bring screenshot back to bugreport

Since the key cord for screen shot is now strictly enforced, we no
longer get a free screen shot with bugreport. This change to bugreport
script will capture a screen shot first, then proceed to dumpstate.
SendBug is also updated accordingly to take 2 parameters: one for
bugreport path, the other for screen shot path.

Change-Id: I20fcea2f3a207b0dcd5341c8646c694dac12ec54
ugmailer.sh
rc/com/android/commands/sendbug/SendBug.java
01cef7d875c77ad5efed9e73d0e3d60a258f79de 13-Sep-2011 Alon Albert <aalbert@google.com> Add screenshot to bugreport email if available

Only works for email bugreport for now. Might add BugReported support later - requiers either
changes to BugReporter tool or zipping the file with is not great.

Change-Id: I1941a8436f6b5ba31b04334a89cad075f3bc836e
rc/com/android/commands/sendbug/SendBug.java
d4cd3249e37e5689fc4a8c2858351ec9bebb467c 19-Aug-2011 Guang Zhu <guangzhu@google.com> BugReporter integration

Queries PackageManager for a predefined intent, if it's resolvable,
hand the bugreport over to BugReporter. Otherwise same as before:
compose an intent to send out in mail with attachment

Change-Id: Ib7a5b49551ae9285ed46464277168487520d798b
rc/com/android/commands/sendbug/SendBug.java
43350373779c519e0fda89f9c5c899af1a42e8d1 16-Aug-2011 Dianne Hackborn <hackbod@google.com> Update to follow framework change.

Change-Id: I1247ba30e6e2e424a4cce12063a3c6af5db035e9
rc/com/android/commands/sendbug/SendBug.java
8c658e058446ad69fb056b2160340d708582b9ee 20-Jul-2011 Guang Zhu <guangzhu@google.com> 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
ndroid.mk
ugmailer.sh
end_bug
rc/com/android/commands/sendbug/SendBug.java
42f4377581f58a9520ba86563202f5aeaff1ba6b 08-Jul-2011 Guang Zhu <guangzhu@google.com> script for capturing and mailing bugreport

Change-Id: Ie6b25393bfd61be54dc6b58b81bffbc2d26b40f5
ugmailer.sh