Support automatic language

Bug: 5057886

Change-Id: I807776b0a3d1286c66ba032c3701b3503911664c
main
satok 2011-09-05 17:31:56 +09:00
parent 59b501a050
commit 0cba0c11f6
1 changed files with 1 additions and 2 deletions

View File

@ -100,8 +100,7 @@ public final class InputMethodSubtypeCompatWrapper extends AbstractCompatWrapper
public String getLocale() { public String getLocale() {
if (mObj == null) return mDummyLocale; if (mObj == null) return mDummyLocale;
final String s = (String)CompatUtils.invoke(mObj, null, METHOD_getLocale); final String s = (String)CompatUtils.invoke(mObj, null, METHOD_getLocale);
if (TextUtils.isEmpty(s)) return DEFAULT_LOCALE; return s != null ? s : DEFAULT_LOCALE;
return s;
} }
public String getMode() { public String getMode() {