diff options
author | Adam Lesinski <adamlesinski@google.com> | 2013-09-20 22:59:12 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-20 22:59:12 +0000 |
commit | d473ebb7c4f212cb9f74fe748bb8b95d7d126417 (patch) | |
tree | 6ccf61057915d90db2012e82fd067a2bf56a2723 /packages/ExternalStorageProvider/src/com | |
parent | dfed244876d6c0ddd8d8bd2b8f3b970cd0a1ab95 (diff) | |
parent | eb8c3f93edc826413ff4143284dec01c1061d5cc (diff) | |
download | frameworks_base-d473ebb7c4f212cb9f74fe748bb8b95d7d126417.zip frameworks_base-d473ebb7c4f212cb9f74fe748bb8b95d7d126417.tar.gz frameworks_base-d473ebb7c4f212cb9f74fe748bb8b95d7d126417.tar.bz2 |
Merge "Surfaces ParcelFileDescriptor#parseMode() as API" into klp-dev
Diffstat (limited to 'packages/ExternalStorageProvider/src/com')
-rw-r--r-- | packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java b/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java index 3e2cd15..f468abc 100644 --- a/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java +++ b/packages/ExternalStorageProvider/src/com/android/externalstorage/ExternalStorageProvider.java @@ -310,7 +310,7 @@ public class ExternalStorageProvider extends DocumentsProvider { String documentId, String mode, CancellationSignal signal) throws FileNotFoundException { final File file = getFileForDocId(documentId); - return ParcelFileDescriptor.open(file, ContentResolver.modeToMode(null, mode)); + return ParcelFileDescriptor.open(file, ParcelFileDescriptor.parseMode(mode)); } @Override |