fix argument order screwup in FileHelper

This commit is contained in:
Vincent Breitmoser committed 2015-10-22 00:42:40 +02:00
1 parent 25165cd46d
commit e188817aba
3 files changed
+3 -3

No files matched your search

@@ -88,7 +88,7 @@ public class FileHelper {
/** Opens the storage browser on Android 4.4 or later for saving a file. */
@TargetApi(VERSION_CODES.KITKAT)
public static void saveDocument(Fragment fragment, String mimeType, String suggestedName, int requestCode) {
public static void saveDocument(Fragment fragment, String suggestedName, String mimeType, int requestCode) {
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType(mimeType);