Loading core/java/com/android/internal/app/AppLocaleCollector.java +5 −3 Original line number Diff line number Diff line Loading @@ -120,11 +120,13 @@ public class AppLocaleCollector implements LocalePickerWithRegion.LocaleCollecto List<InputMethodInfo> infoList = imm.getEnabledInputMethodList(); String imeId = Settings.Secure.getStringForUser(mContext.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD, mContext.getUserId()); if (infoList != null && imeId != null) { for (InputMethodInfo method : infoList) { if (method.getId().equals(imeId)) { activeIme = method; } } } return activeIme; } Loading Loading
core/java/com/android/internal/app/AppLocaleCollector.java +5 −3 Original line number Diff line number Diff line Loading @@ -120,11 +120,13 @@ public class AppLocaleCollector implements LocalePickerWithRegion.LocaleCollecto List<InputMethodInfo> infoList = imm.getEnabledInputMethodList(); String imeId = Settings.Secure.getStringForUser(mContext.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD, mContext.getUserId()); if (infoList != null && imeId != null) { for (InputMethodInfo method : infoList) { if (method.getId().equals(imeId)) { activeIme = method; } } } return activeIme; } Loading