AI 148257: Allow preview of any files (mime type */*) by removing
the original filters. This affects preview, not download. This does not preflight the launch at all, it is very simple as it simply downloads the attachment and then tries to open it. If no activity is found, it uses a toast to say "couldn't do that." A better fix will be to pre-check the mime type to see if there are any intent filters to handle it. BUG=1650669 Automated import of CL 148257
This commit is contained in:
parent
62c4a62985
commit
09866af013
@ -64,9 +64,7 @@ public class Email extends Application {
|
||||
* The MIME type(s) of attachments we're willing to view.
|
||||
*/
|
||||
public static final String[] ACCEPTABLE_ATTACHMENT_VIEW_TYPES = new String[] {
|
||||
"image/*",
|
||||
"audio/*",
|
||||
"text/*",
|
||||
"*/*",
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user