Fix FilePicker intent action

dailyreminder
Trevor Slocum 2021-03-27 12:23:04 -07:00
parent c0ced6e825
commit ef9146de0e
1 changed files with 1 additions and 1 deletions

View File

@ -2033,7 +2033,7 @@ public class MeditationAssistant extends Application {
.setType("*/*");
if (action.equals("openfile")) {
intent.setAction(Intent.ACTION_GET_CONTENT);
intent.setAction(Intent.ACTION_OPEN_DOCUMENT);
} else if (action.equals("newfile")) {
intent.setAction(Intent.ACTION_CREATE_DOCUMENT);
intent.putExtra(Intent.EXTRA_TITLE, defaultName);