fixed Predictive mode missing in Android 15 Contacts app (thank you for wasting my time, Google)
This commit is contained in:
parent
8085af9945
commit
fec7d62168
1 changed files with 14 additions and 1 deletions
|
|
@ -11,6 +11,19 @@ public class InputType extends StandardInputType {
|
|||
super(inputConnection, inputField);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* isContactsAndroid15Field
|
||||
* "First Name" and "Last Name" fields in Android 15 are specified absolutely incorrectly.
|
||||
* Thank you for wasting my time, Google!
|
||||
*/
|
||||
private boolean isContactsAndroid15Field() {
|
||||
return
|
||||
isAppField("com.google.android.contacts", 8288)
|
||||
&& field.privateImeOptions.contains("requestPhoneticOutput");
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* isDeezerSearchBar
|
||||
* The field for searching songs and artists in Deezer does not support composing text, which
|
||||
|
|
@ -177,7 +190,7 @@ public class InputType extends StandardInputType {
|
|||
*/
|
||||
@Override
|
||||
protected boolean isDefectiveText() {
|
||||
return isDuoLingoReportBug();
|
||||
return isDuoLingoReportBug() || isContactsAndroid15Field();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue