title: Android: how to launch com.android.documentsui.files.FilesActivity?
body: <p>I am trying to launch this activity <a href="https://android.googlesource.com/platform/frameworks/base/+/008e948/packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java" rel="nofollow noreferrer">https://android.googlesource.com/platform/frameworks/base/+/008e948/packages/DocumentsUI/src/com/android/documentsui/FilesActivity.java</a></p>
  <p>This is the code I am using</p>
  <pre><code>        Intent intent = new Intent();
          ComponentName componentName = new ComponentName(&quot;com.google.android.documentsui&quot;, &quot;com.android.documentsui.files.FilesActivity&quot;);
          intent.setComponent(componentName);
          context.startActivity(intent);
  </code></pre>
  <p>This throws an ActivityNotFoundException.</p>
  <p>I know that package and activity actually exists on my test device, because I see it in the output of <code>adb shell dumpsys package r</code>.</p>
  <p>Any idea what is wrong and how to launch the activity?</p>