1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00
k-9/res
cketti 62aa1b87d0 Fetch attachments while MessageCompose activity is running
Android allows other apps to access protected content of an app without requesting the
necessary permission when the app returns an Intent with FLAG_GRANT_READ_URI_PERMISSION.
This regularly happens as a result of ACTION_GET_CONTENT, i.e. what we use to pick content
to be attached to a message. Accessing that content only works while the receiving activity
is running. Afterwards accessing the content throws a SecurityException because of the
missing permission.
This commit changes K-9 Mail's behavior to copy the content to a temporary file in K-9's
cache directory while the activity is still running.

Fixes issue 4847, 5821

This also fixes bugs related to the fact that K-9 Mail didn't save a copy of attached content
in the message database.

Fixes issue 1187, 3330, 4930
2013-09-25 03:12:34 +02:00
..
anim Tweak animations to use the (Slightly slower) android default animation speed. 2013-02-05 12:04:03 -05:00
drawable Add new multi-select checkboxes to message list 2013-06-07 07:07:27 +02:00
drawable-hdpi Add new multi-select checkboxes to message list 2013-06-07 07:07:27 +02:00
drawable-hdpi-v9 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-hdpi-v11 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-ldpi Change appearance of unread widget 2013-03-16 01:57:21 +01:00
drawable-ldpi-v9 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-ldpi-v11 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-mdpi Add new multi-select checkboxes to message list 2013-06-07 07:07:27 +02:00
drawable-mdpi-v9 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-mdpi-v11 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-xhdpi Add new multi-select checkboxes to message list 2013-06-07 07:07:27 +02:00
drawable-xhdpi-v9 Notification icon update 2013-02-26 20:34:52 +01:00
drawable-xhdpi-v11 Notification icon update 2013-02-26 20:34:52 +01:00
layout Fetch attachments while MessageCompose activity is running 2013-09-25 03:12:34 +02:00
layout-land Remove unused stuff 2013-02-21 02:00:12 +01:00
layout-v14 When creating accounts only use 'modern' buttons starting with ICS 2013-05-05 06:17:56 +02:00
menu Add an actionbar item for "add account" to the account list (if there's room) 2013-07-30 21:32:35 -04:00
values Fetch attachments while MessageCompose activity is running 2013-09-25 03:12:34 +02:00
values-ca Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-cs Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-da Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-de It's APG, not AGP. 2013-08-15 14:08:37 +02:00
values-el Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-es Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-fi Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-fr It's APG, not AGP. 2013-08-15 14:08:37 +02:00
values-fr-rCA Convert translations of 'accounts_welcome' to HTML 2012-12-17 19:00:17 +01:00
values-gl Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-hu fix some typos, update translation 2013-07-26 00:27:42 +02:00
values-it Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-iw Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-ja Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-ko Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-land Change appearance of unread widget 2013-03-16 01:57:21 +01:00
values-nl Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-pl Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-pt-rBR Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-ru Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-sk Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-sv Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-sw600dp-land-v14 Change appearance of unread widget 2013-03-16 01:57:21 +01:00
values-sw600dp-port-v14 Change appearance of unread widget 2013-03-16 01:57:21 +01:00
values-tr Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-uk Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-v11 Fixed a bug that caused K-9 to crash on the Accounts page on 4.x if you were using the dark theme 2013-07-01 16:34:43 -04:00
values-v14 The theme changes also crashed Honeycomb devices; more fixing 2013-05-05 06:02:39 +02:00
values-zh-rCN Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
values-zh-rTW Rename string to better convey the meaning 2013-07-23 20:12:48 +02:00
xml Automate publishing of the changelogs. 2013-08-01 11:02:49 -04:00
xml-ja Updated Japanese translation of the changelog (Thanks to KATOH Yasufumi). 2013-08-09 23:30:39 +09:00