summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorSarmad Hashmi <mhashmi@google.com>2016-03-11 21:23:24 -0800
committerSarmad Hashmi <mhashmi@google.com>2016-03-13 17:43:49 -0700
commit25cfc81d829ccd7e0774862451089a4925adf932 (patch)
tree2d68a64bb29ef2b5ecc85c77c9cffc5891bd80c5 /res
parentc70343becd3734fd380e0d20f05b7605e6233d43 (diff)
Add share voicemail functionality.
+Send intent to other applications with temporary file permission granted +Add voicemails folder to FileProvider paths +When creating file in VoicemailArchiveProvider, append extension to file name +Check voicemail content exists before archiving it +Refactor voicemail code +Add tests for checking file extension +Add tests for archiving and sharing vociemails +Archive tab should not archive on share button press BUG=22798485 Change-Id: Id8068aba92f7f1ca58532dca6c405cb2908841a3
Diffstat (limited to 'res')
-rw-r--r--res/xml/file_paths.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/xml/file_paths.xml b/res/xml/file_paths.xml
index 45caed283..365a60318 100644
--- a/res/xml/file_paths.xml
+++ b/res/xml/file_paths.xml
@@ -16,5 +16,7 @@
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Offer access to files under Context.getCacheDir() -->
- <cache-path name="my_cache" />
+ <cache-path name="my_cache" />
+ <!-- Offer access to voicemail folder under Context.getFilesDir() -->
+ <files-path name="voicemails" path="voicemails/" />
</paths>