Revert a1b6973 until we find out why it uses OPEN_DOCUMENT by default on fresh install

This commit is contained in:
Nicolas Raoul 2023-09-03 23:28:02 +09:00
parent 5073ca08c3
commit 7ce3b7ebb1
5 changed files with 25 additions and 26 deletions

View file

@ -171,8 +171,8 @@ public class ContributionController {
*/
private void initiateGalleryUpload(final Activity activity, final boolean allowMultipleUploads) {
setPickerConfiguration(activity, allowMultipleUploads);
boolean openDocumentIntentPreferred = defaultKvStore.getBoolean("openDocumentPhotoPickerPref");
FilePicker.openGallery(activity, 0, openDocumentIntentPreferred);
boolean isGetContentPickerPreferred = defaultKvStore.getBoolean("getContentPhotoPickerPref");
FilePicker.openGallery(activity, 0, isGetContentPickerPreferred);
}
/**