title: Android folder picker intent launches file picker
body: <pre><code>private val directoryLauncher =
      registerForActivityResult(
          ActivityResultContracts.StartActivityForResult()
      ) {...}
  val i = Intent(Intent.ACTION_OPEN_DOCUMENT_TREE)
  directoryLauncher.launch(Intent.createChooser(i, &quot;Choose directory&quot;))
  </code></pre>
  <p>I used to use this piece of code to launch a <strong>folder</strong> picker with the AOSP Files app. Now when I try it on my new Xiaomi phone, it launches a <strong>file</strong> picker on the Xiaomi File Manager app. Is there an alternative that works on all phones?</p>