Allow saving attachments even if there's no intent handling them.

For e.g. compressed files that doesn't mean they can't be opened, as
they still can be unpacked by the file manager.

Change-Id: I53c80b7bedb44732bc1cf346a83c1f6e39fb0da0
This commit is contained in:
Danny Baumann 2015-06-27 12:58:33 +02:00 committed by Steve Kondik
parent 39e1c44e7c
commit a9aaccb8f6

View File

@ -180,7 +180,6 @@ public class AttachmentInfo {
List<ResolveInfo> activityList = pm.queryIntentActivities(intent, 0 /*no account*/);
if (activityList.isEmpty()) {
canView = false;
canSave = false;
denyFlags |= DENY_NOINTENT;
}