diff options
-rw-r--r-- | android/source/src/java/org/libreoffice/FormattingController.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/android/source/src/java/org/libreoffice/FormattingController.java b/android/source/src/java/org/libreoffice/FormattingController.java index 20a5cf3b7944..a34c4c41ee29 100644 --- a/android/source/src/java/org/libreoffice/FormattingController.java +++ b/android/source/src/java/org/libreoffice/FormattingController.java @@ -378,9 +378,8 @@ class FormattingController implements View.OnClickListener { } private void sendImagePickingIntent() { - Intent intent = new Intent(); + Intent intent = new Intent(Intent.ACTION_PICK); intent.setType("image/*"); - intent.setAction(Intent.ACTION_PICK); mContext.startActivityForResult(Intent.createChooser(intent, mContext.getResources().getString(R.string.select_photo_title)), SELECT_PHOTO); } |