Set clear_when_task_reset flag on get content intent
Bug: 6401627 Change-Id: I546d51e605bf9483bd36f56adf5b21c1b3cd4c70
This commit is contained in:
parent
65432baf25
commit
d658fb6cac
@ -1537,6 +1537,7 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
||||
private void onAddAttachment() {
|
||||
Intent i = new Intent(Intent.ACTION_GET_CONTENT);
|
||||
i.addCategory(Intent.CATEGORY_OPENABLE);
|
||||
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
|
||||
i.setType(AttachmentUtilities.ACCEPTABLE_ATTACHMENT_SEND_UI_TYPES[0]);
|
||||
mPickingAttachment = true;
|
||||
startActivityForResult(
|
||||
|
Loading…
Reference in New Issue
Block a user