Skip to content

Commit

Permalink
placeholder for package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Knop committed Jul 31, 2023
1 parent 75684b1 commit f0ffde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/github/sspanak/tt9/ime/helpers/InputType.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public boolean isDialer() {
int inputType = field.inputType & android.text.InputType.TYPE_MASK_CLASS;

return
inputType == android.text.InputType.TYPE_CLASS_PHONE && field.packageName.equals("com.android.dialer") || inputType == android.text.InputType.TYPE_CLASS_NUMBER;
inputType == android.text.InputType.TYPE_CLASS_PHONE && field.packageName.equals("com.android.dialer") || inputType == android.text.InputType.TYPE_CLASS_NUMBER && field.packageName.contains("com.android.calculator");
}


Expand Down

0 comments on commit f0ffde6

Please sign in to comment.