title: registerForActivityResult cancel?
body: <p>I'm using this, code below to open a file chooser, everything works except how do you 'cancel' without choosing anything, the UI doesn't appear to have a way for the user to cancel it appears the only way out is choose a file, the back button restarts the previous activity, if the back button is what passes for 'cancel' then well okay then.</p>
  <pre><code>private val getContentPrefImport = registerForActivityResult(ActivityResultContracts.GetContent())  { uri: Uri -&gt;
      val file = File( uri?.path )
      mytools.debug(file.toString())
      mytools.debug(uri.toString())
      if(uri != Uri.EMPTY) {
          mydeckio.loadDeck(applicationContext,uri)
      }  
     }
  </code></pre>