From f0ffde62485f7120edbd418943393b23421cc99a Mon Sep 17 00:00:00 2001 From: Alex Knop Date: Mon, 31 Jul 2023 09:08:00 -0400 Subject: [PATCH] placeholder for package name --- src/io/github/sspanak/tt9/ime/helpers/InputType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/github/sspanak/tt9/ime/helpers/InputType.java b/src/io/github/sspanak/tt9/ime/helpers/InputType.java index 8ee8ca0c7..d2e0d8787 100644 --- a/src/io/github/sspanak/tt9/ime/helpers/InputType.java +++ b/src/io/github/sspanak/tt9/ime/helpers/InputType.java @@ -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"); }