Repository navigation
Commit 11a4b74
committed
fix(mobile): Android terminal input no longer triggers password autofill
The terminal's hidden EditText uses the visible-password input type, so
autofill services treated it as a login field and engaged on every focus.
Opting out with importantForAutofill is not enough: with
trigger_fill_request_on_unimportant_view, Android still sends a fill
request for unimportant EditTexts. Report AUTOFILL_TYPE_NONE instead,
the first check isAutofillable() runs on every version. The input type
stays, so keyboard behavior does not change.
Closes #127551 parent 17e1087 commit 11a4b74
1 file changed
Lines changed: 8 additions & 1 deletion
File tree
- apps/mobile/modules/t3-terminal/android/src/main/java/expo/modules/t3terminal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
0 commit comments