diff options
author | Felipe Leme <felipeal@google.com> | 2015-10-29 12:30:39 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2015-10-30 08:43:00 -0700 |
commit | 96b11959563a2db83984c76838e5ca84ff2ea67a (patch) | |
tree | de0a51cfef561773c6cdad17dd762fa5e3667e64 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 794469916c4da8236b91cf5f8813ab4a1682cf86 (diff) |
Set ClipData with attachments URIs on bugreport notification.
The ACTION_SEND_MULTIPLE contract expects the EXTRA_TEXT to be an
ArrayList<String>, but it's currently set as String, which causes an
exception when exporting the EXTRA_STREAM as ClipData.
The right approach would be changing the EXTRA_TEXT content, but that
would break some clients like GMail, so a safer fix is to explicitly
set the ClipData.
Also removed unused variables and imports.
BUG: 21735884
BUG: 21729227
Changes to be committed:
modified: src/com/android/shell/BugreportReceiver.java
Change-Id: If9954e8cae4af7b74f077a32806f25eb7d55dffb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions