Skip to content

Help setting up the Interceptor #2038

Description

@LucasBS1
  • I have searched the issues and haven't found anything relevant
  • I have read the docs
  • I know that generating a report, in whole part or in part, using AI/LLM is prohibited

Hello !

I need to PERMANENTLY intercept action=android.intent.action.OPEN_DOCUMENT and replace it with action=android.intent.action.GET_CONTENT

If you seen these two activities before, you are not crazy: they are both handled by Android's default Files app (package=com.android.documentsui), but with different result (the GET_CONTENT version has many more features)

I successfully launched the modified activity, but it is not permanent. I need to make it permanent.

Problem is:
The android.intent.action.OPEN_DOCUMENT gives us no opportunity to Open As and select App Manager's Interceptor. It is always set to the Files app, and has no way to clear.
And even if it did present an Open As, I'd always have to fill in the dialog with the information

Is there another way ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions