Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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



```