Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a9f0db2 authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Support automatic language"

parents 1d8ec1cb 0cba0c11
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -100,8 +100,7 @@ public final class InputMethodSubtypeCompatWrapper extends AbstractCompatWrapper
    public String getLocale() {
        if (mObj == null) return mDummyLocale;
        final String s = (String)CompatUtils.invoke(mObj, null, METHOD_getLocale);
        if (TextUtils.isEmpty(s)) return DEFAULT_LOCALE;
        return s;
        return s != null ? s : DEFAULT_LOCALE;
    }

    public String getMode() {