Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Conversation

@tthbaltazar
Copy link

Fixes #5031.

This lets the OS handle the popup shows during text selection. Without this only very few options are shown.
@connyduck
Copy link
Collaborator

What exactly is this doing? I see no difference in the text selection popup.

@tthbaltazar
Copy link
Author

Uh. Sorry, this is not the fix.

After a long time of staring into android source code I found the real bug: android hides other apps, and this also affects the actions shows in the text selection popup.

The real solution is to declare that we want to see activities that can handle PROCESS_TEXT actions: https://developer.android.com/training/package-visibility/declaring#intent-filter-signature

This explains why the behavior is so different between apps. I'm pretty sure this is a bug and this should be visible by default to all apps. I guess androidx could fix this by putting this into the manifest of every app.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants