Fix a bug where the locale of the keyboard app would end up wrong.
Change-Id: I1f9172dd987f8c2ed9b2f3d16a494e4cd264ead7main
parent
0ee6daa63a
commit
0d2843d852
|
@ -172,6 +172,8 @@ public class Settings extends PreferenceActivity
|
||||||
&& isBigramPredictionEnabled(prefs, res);
|
&& isBigramPredictionEnabled(prefs, res);
|
||||||
|
|
||||||
mAutoCorrectionThreshold = getAutoCorrectionThreshold(prefs, res);
|
mAutoCorrectionThreshold = getAutoCorrectionThreshold(prefs, res);
|
||||||
|
|
||||||
|
Utils.setSystemLocale(res, savedLocale);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSuggestedPunctuation(int code) {
|
public boolean isSuggestedPunctuation(int code) {
|
||||||
|
|
Loading…
Reference in New Issue