aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-03-20 08:46:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-20 08:46:11 +0000
commitaacfa31c8e357e1595188a8d9dcf062fdfd3ee7d (patch)
treeb7c8cb90bc1d04790dabebf50c150e18a6f88fc6 /java/src
parent83372e75e4fc030e77de470e08cf7012436c759a (diff)
parent44f144ab3ae6824a64d309add591cfc469451480 (diff)
downloadlatinime-aacfa31c8e357e1595188a8d9dcf062fdfd3ee7d.tar.gz
latinime-aacfa31c8e357e1595188a8d9dcf062fdfd3ee7d.tar.xz
latinime-aacfa31c8e357e1595188a8d9dcf062fdfd3ee7d.zip
Merge "Remove reference of KeyboardTextsSet from SpacingAndPunctuations"
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/settings/SpacingAndPunctuations.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/settings/SpacingAndPunctuations.java b/java/src/com/android/inputmethod/latin/settings/SpacingAndPunctuations.java
index 5954758aa..796921f71 100644
--- a/java/src/com/android/inputmethod/latin/settings/SpacingAndPunctuations.java
+++ b/java/src/com/android/inputmethod/latin/settings/SpacingAndPunctuations.java
@@ -18,7 +18,6 @@ package com.android.inputmethod.latin.settings;
import android.content.res.Resources;
-import com.android.inputmethod.keyboard.internal.KeyboardTextsSet;
import com.android.inputmethod.keyboard.internal.MoreKeySpec;
import com.android.inputmethod.latin.Constants;
import com.android.inputmethod.latin.PunctuationSuggestions;
@@ -61,10 +60,8 @@ public final class SpacingAndPunctuations {
// English variants. German rules (not "German typography") also have small gotchas.
mUsesAmericanTypography = Locale.ENGLISH.getLanguage().equals(locale.getLanguage());
mUsesGermanRules = Locale.GERMAN.getLanguage().equals(locale.getLanguage());
- final KeyboardTextsSet textsSet = new KeyboardTextsSet();
- textsSet.setLocale(locale);
final String[] suggestPuncsSpec = MoreKeySpec.splitKeySpecs(
- textsSet.resolveTextReference(res.getString(R.string.suggested_punctuations)));
+ res.getString(R.string.suggested_punctuations));
mSuggestPuncList = PunctuationSuggestions.newPunctuationSuggestions(suggestPuncsSpec);
}