diff options
author | 2011-12-15 18:04:16 -0800 | |
---|---|---|
committer | 2011-12-15 18:04:16 -0800 | |
commit | daaf590a1b157d076429d99dd4025b65e3e4d251 (patch) | |
tree | 7a315891bde0e564b00f2c3ede3876089e54195d /java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java | |
parent | 8c180bbc60f5378cfcc1af3a0283820b50587551 (diff) | |
parent | e9a0efc242f3bca80e8f64523a7bade659c28069 (diff) | |
download | latinime-daaf590a1b157d076429d99dd4025b65e3e4d251.tar.gz latinime-daaf590a1b157d076429d99dd4025b65e3e4d251.tar.xz latinime-daaf590a1b157d076429d99dd4025b65e3e4d251.zip |
am e9a0efc2: Merge "Cleanup unused variables and parameters"
* commit 'e9a0efc242f3bca80e8f64523a7bade659c28069':
Cleanup unused variables and parameters
Diffstat (limited to 'java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java')
-rw-r--r-- | java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java b/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java index e01262c20..3d5ab05c3 100644 --- a/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java +++ b/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java @@ -17,7 +17,6 @@ package com.android.inputmethod.accessibility; import android.content.Context; -import android.content.SharedPreferences; import android.text.TextUtils; import com.android.inputmethod.keyboard.Key; @@ -45,8 +44,8 @@ public class KeyCodeDescriptionMapper { // Map of shift-locked key codes to spoken description resource IDs private final HashMap<Integer, Integer> mShiftLockedKeyCodeMap; - public static void init(Context context, SharedPreferences prefs) { - sInstance.initInternal(context, prefs); + public static void init() { + sInstance.initInternal(); } public static KeyCodeDescriptionMapper getInstance() { @@ -60,7 +59,7 @@ public class KeyCodeDescriptionMapper { mShiftLockedKeyCodeMap = new HashMap<Integer, Integer>(); } - private void initInternal(Context context, SharedPreferences prefs) { + private void initInternal() { // Manual label substitutions for key labels with no string resource mKeyLabelMap.put(":-)", R.string.spoken_description_smiley); |