|
|
@@ -325,13 +325,15 @@ public class EventQuestionFragment extends FragmentBase<EventQuestionPresenter>
|
|
|
|
|
|
if (Build.VERSION.SDK_INT < 19) {
|
|
|
Intent intent = new Intent();
|
|
|
- intent.setType("image/jpeg");
|
|
|
+// intent.setType("image/jpeg");
|
|
|
+ intent.setType("image/*");
|
|
|
intent.setAction(Intent.ACTION_GET_CONTENT);
|
|
|
startActivityForResult(Intent.createChooser(intent, getResources().getString(R.string.empty_string)), GALLERY_INTENT_CALLED);
|
|
|
} else {
|
|
|
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
|
|
|
intent.addCategory(Intent.CATEGORY_OPENABLE);
|
|
|
- intent.setType("image/jpeg");
|
|
|
+// intent.setType("image/jpeg");
|
|
|
+ intent.setType("image/*");
|
|
|
startActivityForResult(intent, GALLERY_KITKAT_INTENT_CALLED);
|
|
|
}
|
|
|
}
|