fixed the double numbers when dialing a number in LG X100S and the menu button not working on TCL Flip 2 (fingers crossed)
This commit is contained in:
parent
91a278210e
commit
b39204609a
1 changed files with 7 additions and 5 deletions
|
|
@ -47,13 +47,15 @@ public class InputType {
|
||||||
* actually dial and call a phone number. While the Phone field is a text
|
* actually dial and call a phone number. While the Phone field is a text
|
||||||
* field in any app or a webpage, intended for typing phone numbers.
|
* field in any app or a webpage, intended for typing phone numbers.
|
||||||
* <p>
|
* <p>
|
||||||
* More info: <a href="https://github.com/sspanak/tt9/issues/46">in this Github issue</a>
|
* More info (chronological order of bugfixing):
|
||||||
* and <a href="https://github.com/sspanak/tt9/pull/326">the PR about calculators</a>.
|
* <a href="https://github.com/sspanak/tt9/issues/46">in this Github issue</a>
|
||||||
|
* <a href="https://github.com/sspanak/tt9/pull/326">the PR about calculators</a>
|
||||||
|
* <a href="https://github.com/sspanak/tt9/issues/300">Dialer not detected correctly on LG X100S</a>
|
||||||
*/
|
*/
|
||||||
public boolean isSpecialNumeric() {
|
private boolean isSpecialNumeric() {
|
||||||
return
|
return
|
||||||
isPhoneNumber() && field.packageName.equals("com.android.dialer")
|
field.packageName.contains("com.android.calculator") // there is "calculator2", hence the contains()
|
||||||
|| isNumeric() && field.packageName.contains("com.android.calculator");
|
|| field.packageName.equals("com.android.dialer");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue