Pass mime type so that SAF treats file extension correctly

This commit is contained in:
Stypox 2021-01-16 15:15:16 +01:00
parent 0c322e47cb
commit 3399ed2b30
5 changed files with 10 additions and 7 deletions

View file

@ -256,7 +256,7 @@ public class MissionsFragment extends Fragment {
}
startActivityForResult(StoredFileHelper.getNewPicker(mContext, startPath,
mission.storage.getName()), REQUEST_DOWNLOAD_SAVE_AS);
mission.storage.getName(), mission.storage.getType()), REQUEST_DOWNLOAD_SAVE_AS);
}
@Override