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:
parent
39e1c44e7c
commit
a9aaccb8f6
@ -180,7 +180,6 @@ public class AttachmentInfo {
|
|||||||
List<ResolveInfo> activityList = pm.queryIntentActivities(intent, 0 /*no account*/);
|
List<ResolveInfo> activityList = pm.queryIntentActivities(intent, 0 /*no account*/);
|
||||||
if (activityList.isEmpty()) {
|
if (activityList.isEmpty()) {
|
||||||
canView = false;
|
canView = false;
|
||||||
canSave = false;
|
|
||||||
denyFlags |= DENY_NOINTENT;
|
denyFlags |= DENY_NOINTENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user