diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-10-10 15:26:14 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@google.com> | 2016-10-10 21:28:40 +0000 |
commit | 42a4aaab44de53ff692277d0fff74120c23724b8 (patch) | |
tree | 3648a1d5aa93e3f471b98e72c710ca2169697dac /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 9e4733ed332a5ca29aa5c53936de61b56a1e42a4 (diff) |
Set MIME type when building BROWSE intents.
If we created a BROWSE PendingIntent early during boot (while the
device was still locked), we would resolve the MIME type as "null"
meaning the intent would fail to launch.
Since we always know what the MIME type will be, set it explicitly.
Test: boot device while USB device attached
Bug: 30742481
Change-Id: I23c523cbe2660ca63a3b7df1f41300ab803b314c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions