title: Unable to pick file on Oreo
body: <p>On Android Nougat and below, I can simply get some file on my storage using this code :</p>
  
  <pre><code>Intent chooseFile = new Intent(Intent.ACTION_GET_CONTENT);
  chooseFile.setType("*/*.jpg");
  chooseFile = Intent.createChooser(chooseFile, "Choose a file");
  startActivityForResult(chooseFile, 111);
  </code></pre>
  
  <p>And get the file path using :</p>
  
  <pre><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      if (requestCode == 111 &amp;&amp; resultCode == RESULT_OK &amp;&amp; data.getData() != null)
         String path = data.getData().getPath();
  
  }
  </code></pre>
  
  <p>But on Android Oreo, this is not working. The file picker is showing up, but I cannot even pick the file using the default file picker. At first, I thought that this is related to <a href="https://developer.android.com/about/versions/oreo/android-8.0-changes" rel="nofollow noreferrer">permission</a>. But after I add the permission to READ and WRITE external storage on runtime, and granted, this problem still occurred.</p>