Loading core/java/android/view/textservice/TextServicesManager.java +1 −2 Original line number Diff line number Diff line Loading @@ -222,8 +222,7 @@ public final class TextServicesManager { public SpellCheckerSubtype getCurrentSpellCheckerSubtype( boolean allowImplicitlySelectedSubtype) { try { // Passing null as a locale until we support multiple enabled spell checker subtypes. return mService.getCurrentSpellCheckerSubtype(null, allowImplicitlySelectedSubtype); return mService.getCurrentSpellCheckerSubtype(allowImplicitlySelectedSubtype); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } Loading core/java/com/android/internal/textservice/ITextServicesManager.aidl +1 −2 Original line number Diff line number Diff line Loading @@ -30,8 +30,7 @@ import android.view.textservice.SpellCheckerSubtype; */ interface ITextServicesManager { SpellCheckerInfo getCurrentSpellChecker(String locale); SpellCheckerSubtype getCurrentSpellCheckerSubtype( String locale, boolean allowImplicitlySelectedSubtype); SpellCheckerSubtype getCurrentSpellCheckerSubtype(boolean allowImplicitlySelectedSubtype); oneway void getSpellCheckerService(String sciId, in String locale, in ITextServicesSessionListener tsListener, in ISpellCheckerSessionListener scListener, in Bundle bundle); Loading services/core/java/com/android/server/TextServicesManagerService.java +2 −3 Original line number Diff line number Diff line Loading @@ -509,7 +509,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub { // TODO: Save SpellCheckerSubtype by supported languages by looking at "locale". @Override public SpellCheckerSubtype getCurrentSpellCheckerSubtype( String locale, boolean allowImplicitlySelectedSubtype) { boolean allowImplicitlySelectedSubtype) { final int subtypeHashCode; final SpellCheckerInfo sci; final Locale systemLocale; Loading Loading @@ -573,8 +573,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub { } } else if (scs.hashCode() == subtypeHashCode) { if (DBG) { Slog.w(TAG, "Return subtype " + scs.hashCode() + ", input= " + locale + ", " + scs.getLocale()); Slog.w(TAG, "Return subtype " + scs.hashCode() + ", " + scs.getLocale()); } // 3. Use the user specified spell check language return scs; Loading Loading
core/java/android/view/textservice/TextServicesManager.java +1 −2 Original line number Diff line number Diff line Loading @@ -222,8 +222,7 @@ public final class TextServicesManager { public SpellCheckerSubtype getCurrentSpellCheckerSubtype( boolean allowImplicitlySelectedSubtype) { try { // Passing null as a locale until we support multiple enabled spell checker subtypes. return mService.getCurrentSpellCheckerSubtype(null, allowImplicitlySelectedSubtype); return mService.getCurrentSpellCheckerSubtype(allowImplicitlySelectedSubtype); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } Loading
core/java/com/android/internal/textservice/ITextServicesManager.aidl +1 −2 Original line number Diff line number Diff line Loading @@ -30,8 +30,7 @@ import android.view.textservice.SpellCheckerSubtype; */ interface ITextServicesManager { SpellCheckerInfo getCurrentSpellChecker(String locale); SpellCheckerSubtype getCurrentSpellCheckerSubtype( String locale, boolean allowImplicitlySelectedSubtype); SpellCheckerSubtype getCurrentSpellCheckerSubtype(boolean allowImplicitlySelectedSubtype); oneway void getSpellCheckerService(String sciId, in String locale, in ITextServicesSessionListener tsListener, in ISpellCheckerSessionListener scListener, in Bundle bundle); Loading
services/core/java/com/android/server/TextServicesManagerService.java +2 −3 Original line number Diff line number Diff line Loading @@ -509,7 +509,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub { // TODO: Save SpellCheckerSubtype by supported languages by looking at "locale". @Override public SpellCheckerSubtype getCurrentSpellCheckerSubtype( String locale, boolean allowImplicitlySelectedSubtype) { boolean allowImplicitlySelectedSubtype) { final int subtypeHashCode; final SpellCheckerInfo sci; final Locale systemLocale; Loading Loading @@ -573,8 +573,7 @@ public class TextServicesManagerService extends ITextServicesManager.Stub { } } else if (scs.hashCode() == subtypeHashCode) { if (DBG) { Slog.w(TAG, "Return subtype " + scs.hashCode() + ", input= " + locale + ", " + scs.getLocale()); Slog.w(TAG, "Return subtype " + scs.hashCode() + ", " + scs.getLocale()); } // 3. Use the user specified spell check language return scs; Loading