title: FileNotFoundException when calling setImageURI(): /data/user/0/com.myapp/files/1585300417998.jpg: open failed: ENOENT
body: <p>With Android 10, when calling </p>
  
  <pre><code>androidx.appcompat.widget.AppCompatImageView.setImageURI(uri)
  </code></pre>
  
  <p>I see this silent exception in the logs:</p>
  
  <pre><code>java.io.FileNotFoundException: /data/user/0/com.myapp/files/1585300417998.jpg: open failed: ENOENT (No such file or directory)
          at libcore.io.IoBridge.open(IoBridge.java:496)
          at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:159)
          at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:115)
          at android.content.ContentResolver.openInputStream(ContentResolver.java:1192)
          at android.graphics.ImageDecoder$ContentResolverSource.createImageDecoder(ImageDecoder.java:282)
          at android.graphics.ImageDecoder.decodeDrawableImpl(ImageDecoder.java:1743)
          at android.graphics.ImageDecoder.decodeDrawable(ImageDecoder.java:1736)
          at android.widget.ImageView.getDrawableFromUri(ImageView.java:1009)
          at android.widget.ImageView.resolveUri(ImageView.java:978)
          at android.widget.ImageView.setImageURI(ImageView.java:555)
          at androidx.appcompat.widget.AppCompatImageView.setImageURI(AppCompatImageView.java:116)
          at com.myapp.LargeImageView.setImage(LargeImageView.java:88)
          at com.myapp.LargeImageView.onSizeChanged(LargeImageView.java:56)
  </code></pre>
  
  <p>These two permissions are declared in my manifest:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  </code></pre>