java.lang.SecurityException: Permission Denial: opening provider
I start image picker intent using: final Intent pickIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); pickIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); startActivityForResult(intent, PICK_IMAGE); and in onActivityResult() I get uris of all picked images and start Jobs which run in background and upload those images ( https://github.com/yigit/android-priority-jobqueue ). But if I press back button and exit out of activity then any job that was not started, can't access picked image when it runs and throws an exception: java.lang.SecurityException: