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:
Andy Stadler 2009-05-04 10:28:41 -07:00 committed by The Android Open Source Project
parent 62c4a62985
commit 09866af013
1 changed files with 1 additions and 3 deletions

View File

@ -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/*",
"*/*",
};
/**