History log of /frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e28d7fc21c40eedcac35c7c00b6464fdf8e34b44 13-Jul-2015 Felipe Leme <felipeal@google.com> Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.

BUG: 20447313
Change-Id: Iecbaf3ce2f0e3d82ac31a6c7bfbd8fb3037de5e4
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
c16a26a2b947d4cec0dd87d7b6bf266fd9918fbc 23-Jun-2015 Ian Pedowitz <ijpedowitz@google.com> Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev
9fbee9ba98585382bc5f974a614d8949a362eb8b 19-Jun-2015 Wei Liu <luciferleo@google.com> resolved conflicts for merge of 1dac6bd9 to mnc-dev

Change-Id: I000b35f5e2658a065c780396254bcb88f1cbce5e
bd82c7d364ac9b38b4e6b22cfa9634185d04b836 18-Jun-2015 Ian Pedowitz <ijpedowitz@google.com> Renaming bugreport.txt to bugreportFile.getName()

Many times to file a bug, its necessary to take several bugreports and
attach them all to the same bug. With the current implementation, all
extracted files are bugreport.txt which makes it difficult to attach
several bugreports to the same bug, and reference them throughout the
bug uniquely.

Bug: 20447313
Change-Id: I22d2286d06c8dfb82273b5b98c48b21f77941b15
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
ae363d2db4398a695606c254b88be8940139edd1 13-Jun-2015 Wei Liu <luciferleo@google.com> Wear doesn't need Shell to send notification when bugreport captured.

b/19179040

Change-Id: Iec74e1e55adee16c8674f28a6e7d697499b85acf
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
00f4a6ecbca4a0286c7f283850e1af3c424818a0 16-Jun-2015 Felipe Leme <felipeal@google.com> Improved zipping logic so it zips chunks, instead of the whole file at once, to avoid OOM.

BUG: 20447313
Change-Id: I66f90cdd2a07288f9e37a38185f1583c57cf65c8
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
55beae09e57f987e23f8737d25c611a34fd7fc81 01-Jun-2015 Felipe Leme <felipeal@google.com> Changed BugReportReceiver to send zipped bugreports.

When BugReporterReceiver receives a android.permission.DUMP, it will handle the bugreport file (extra android.intent.extra.BUGREPORT) depending on its format:

- If it's a plain-text file (extension .txt), it will create a zip file with the plain-text report renamed as bugreport.txt.
- If there is an error creating the zip file, the plain-text bugreport will be sent instead.
- If it's not a plain-text file, it fill send the file as is (so if 'dumpstate' is later changed to generate a zipped file directly, nothing has to be done here).

Note that only the bugreport itself is included in the zip file, the screenshot is still sent separately (extra android.intent.extra.SCREENSHOT), so the receiver of the bugreport intent can display a screenshot thumbnail without unzipping the other file (which is useful when sending the bugreport through GMail, for example).

BUG: 20447313
BUG: 21868658
Change-Id: I3fa1e0c89190bfe6fa5c418f0f01ce1fb376f537
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
4a357cd2e55293402d7172766f7f9419815fc1e8 19-Mar-2015 Alan Viverette <alanv@google.com> Replace usages of deprecated Resources.getColor() and getColorStateList()

Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
e255e4e5365c56b9f49b74d8e3fae14b714cda5b 06-Oct-2014 Wei Liu <luciferleo@google.com> Hide bug report notification in Android Framework from watches.

Bug: 17806348
Change-Id: I1a90a9bc68d8ef4ff540dbbd9e4af4bfed8a61ae
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
255dd04271088590fedc46c8e22b2fd4ab142d39 19-Aug-2014 Selim Cinek <cinek@google.com> Added notification color to all system notifications

Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
e37e9ba3ca3aed4109eb75b2e9ac622a7322caca 20-Mar-2013 Jeff Sharkey <jsharkey@android.com> Show notification ticker for finished bugreports.

Change-Id: I7d326b0da83c3ae334739cdb8cb4ca18f948c50f
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
d9526907d1a51ef0b35bfbbeee43fa209d8b5bbf 14-Mar-2013 Jeff Sharkey <jsharkey@android.com> Move deleteOlderFiles() to framework, tests.

Supports both age and count based constraints. Added light docs and
tests to verify behavior.

Bug: 8387555
Change-Id: If4d0dac8bc54ce705c2a339bc09a60ea748728b8
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java
02ffba940ca96988ed3e7774c606b43c58373b5e 09-Mar-2013 Jeff Sharkey <jsharkey@android.com> Handle finished bugreports, share from private.

Show notification when a bugreport is finished, letting the user
launch a SEND_MULTIPLE intent to share them. Add dialog that warns
user about contents before sharing. Since bugreports are now stored
in private app data of the Shell app, use FileProvider to build Uris
that we can grant others access to.

Define BUGREPORT_FINISHED as being a protected broadcast. Delete
older bugreports automatically to reclaim disk space. Migrate any
Intent extras to ClipData when building PendingIntents.

Add --receiver-permission support to am shell command.

Bug: 7005318
Change-Id: If6c607dbcf137362d5887eac482ff7391563890f
/frameworks/base/packages/Shell/src/com/android/shell/BugreportReceiver.java