In "developer options" settings I use "don't keep activities" mode. I need pick image from gallery and use its URI in my application. The code which opens the gallery in order to pick image is:
Intent intent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
intent.setType(FileType.IMAGE);
startActivityForResult(intent, 1);
The issue happens when I pick image. "Please wait..." message is shown and then I turned back to the "select image" in gallery. It happens in HTC One X device when this mode is turned on. In Samsung Galaxy S3 this issue doesn't occur. How can I solve it on HTC ONE X device when this mode is on?