diff options
| author | Jules Aguillon | 2021-12-28 17:53:58 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2021-12-28 17:53:58 +0100 |
| commit | 93704cca0ace3bff31dea5d3841ba185ad89398a (patch) | |
| tree | d2e69c5191f347cd8de9d7b2cbdd4493e2c13a4c /srcs/juloo.keyboard2/Keyboard2.java | |
| parent | 15ce200ce3f9d19f1a1f1fb43f176bf511f14271 (diff) | |
| download | unexpected-keyboard-93704cca0ace3bff31dea5d3841ba185ad89398a.tar.gz unexpected-keyboard-93704cca0ace3bff31dea5d3841ba185ad89398a.zip | |
Reference the "special key font" in the Theme object
Remove the last cast of the context.
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Keyboard2.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java index 0eb2a23..17c9d4e 100644 --- a/srcs/juloo.keyboard2/Keyboard2.java +++ b/srcs/juloo.keyboard2/Keyboard2.java @@ -31,7 +31,6 @@ public class Keyboard2 extends InputMethodService private Keyboard2View _keyboardView; private int _currentTextLayout; private ViewGroup _emojiPane = null; - private Typeface _specialKeyFont = null; private Config _config; @@ -52,7 +51,6 @@ public class Keyboard2 extends InputMethodService public void onCreate() { super.onCreate(); - _specialKeyFont = Typeface.createFromAsset(getAssets(), "fonts/keys.ttf"); PreferenceManager.setDefaultValues(this, R.xml.settings, false); PreferenceManager.getDefaultSharedPreferences(this).registerOnSharedPreferenceChangeListener(this); Config.initGlobalConfig(this, new KeyEventHandler(this.new Receiver())); @@ -61,11 +59,6 @@ public class Keyboard2 extends InputMethodService _keyboardView.reset(); } - public Typeface getSpecialKeyFont() - { - return (_specialKeyFont); - } - private List<InputMethodSubtype> getEnabledSubtypes(InputMethodManager imm) { String pkg = getPackageName(); |
