title: Android 4.4 and up doesn't provide persistent file path after reboot
body: <p>I'm asking the user to pick an image like this:</p>
  
  <pre><code>Intent intent = new Intent();
  intent.setType("image/*");
  if (Build.VERSION.SDK_INT &gt;= 19) {
        intent.addCategory(Intent.CATEGORY_OPENABLE);
        intent.setAction(Intent.ACTION_OPEN_DOCUMENT);
  } else
        intent.setAction(Intent.ACTION_GET_CONTENT);
  startActivityForResult(Intent.createChooser(intent, getResources().getString(R.string.select_image)), PICK_IMAGE_REQUEST);
  </code></pre>
  
  <p>I'm saving the image Uri like this</p>
  
  <pre><code>if (requestCode == PICK_IMAGE_REQUEST &amp;&amp; resultCode == Activity.RESULT_OK &amp;&amp; data != null &amp;&amp; data.getData() != null) {
              getPreferenceScreen().getSharedPreferences().edit().putString("pic_url", data.getDataString()).apply();
  </code></pre>
  
  <p>And get a bitmap of that image later on like this</p>
  
  <pre><code>Bitmap bitmap = MediaStore.Images.Media.getBitmap(context.getContentResolver(), Uri.parse(picUrl));
  </code></pre>
  
  <p>The problem is that on API 19+ the uri from my SharedPreferences no longer returns the image that the user picked <strong>after a reboot</strong> (I think there's an exeption thrown at that last line).</p>