title: Android 9 Intent.ACTION_UNINSTALL_PACKAGE not working
body: <p>On android pie, I want to call the package manager to uninstall my own app. Here is what I am trying:</p>
  
  <pre><code>val uri = Uri.parse("package:$packageName")
  val uIntent = Intent(Intent.ACTION_UNINSTALL_PACKAGE, uri)
  startActivity(uIntent)
  </code></pre>
  
  <p>Oddly this is not working. Nothing is being shown in the logcat as well.</p>
  
  <p>I have also tried ACTION_DELETE</p>
  
  <pre><code>val uri = Uri.parse("package:$packageName")
  val uIntent = Intent(Intent.ACTION_DELETE, uri)
  startActivity(uIntent)
  </code></pre>
  
  <p>Please tell me what I am doing wrong. This seems a pretty straightforward job. Am I missing any permission or something I need to declare in manifest?
  Thanks.</p>