Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caarmen/processtextbug
Reproduction project for a bug with the Android PROCESS_TEXT intent action.
https://github.com/caarmen/processtextbug
android-intent bug-reproduction
Last synced: 11 days ago
JSON representation
Reproduction project for a bug with the Android PROCESS_TEXT intent action.
- Host: GitHub
- URL: https://github.com/caarmen/processtextbug
- Owner: caarmen
- Created: 2024-05-12T21:00:55.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-12T21:29:44.000Z (6 months ago)
- Last Synced: 2024-05-12T22:22:22.807Z (6 months ago)
- Topics: android-intent, bug-reproduction
- Language: Kotlin
- Homepage: https://issuetracker.google.com/issues/340098899
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ProcessText bug reproduction demo
## App functionality
This app displays the text "Hello `processText`", where `processText` is the `EXTRA_PROCESS_TEST` extra passed to the activity's `Intent`.When launching the app from the launcher, this intent extra isn't present, and the app displays "Hello No processed text".
When launching the app from a `PROCESS_TEXT` intent action (for example, from the text selection menu in Chrome), the app displays "Hello `selected text`".
## Bug
The app isn't displayed in the text selection menu in some Google apps, like:
* Keep notes
* Gmail### Expected behavior:
#### Keep
#### Gmail
#### Chrome
### Actual behavior:
#### Keep
#### Gmail
### Chrome
Works as expected.## Workaround
Add the following intent filter to **any activity** in the application, and the activity with the `PROCESS_TEXT` intent filter will appear in the text selection in these apps:
```xml
```