Loading services/core/java/com/android/server/InputMethodManagerService.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -889,7 +889,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub /** /** * Start a VR InputMethod that matches IME with package name of {@param component}. * Start a VR InputMethod that matches IME with package name of {@param component}. * Note: This method is called from {@link VrManager}. * Note: This method is called from {@link android.app.VrManager}. */ */ private void startVrInputMethodNoCheck(@Nullable ComponentName component) { private void startVrInputMethodNoCheck(@Nullable ComponentName component) { if (component == null) { if (component == null) { Loading @@ -903,7 +903,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub for (InputMethodInfo info : mMethodList) { for (InputMethodInfo info : mMethodList) { if (TextUtils.equals(info.getPackageName(), packageName) && info.isVrOnly()) { if (TextUtils.equals(info.getPackageName(), packageName) && info.isVrOnly()) { // set this is as current inputMethod without updating settings. // set this is as current inputMethod without updating settings. setInputMethodEnabled(info.getId(), true); setInputMethodEnabledLocked(info.getId(), true); setInputMethodLocked(info.getId(), NOT_A_SUBTYPE_ID); setInputMethodLocked(info.getId(), NOT_A_SUBTYPE_ID); break; break; } } Loading Loading
services/core/java/com/android/server/InputMethodManagerService.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -889,7 +889,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub /** /** * Start a VR InputMethod that matches IME with package name of {@param component}. * Start a VR InputMethod that matches IME with package name of {@param component}. * Note: This method is called from {@link VrManager}. * Note: This method is called from {@link android.app.VrManager}. */ */ private void startVrInputMethodNoCheck(@Nullable ComponentName component) { private void startVrInputMethodNoCheck(@Nullable ComponentName component) { if (component == null) { if (component == null) { Loading @@ -903,7 +903,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub for (InputMethodInfo info : mMethodList) { for (InputMethodInfo info : mMethodList) { if (TextUtils.equals(info.getPackageName(), packageName) && info.isVrOnly()) { if (TextUtils.equals(info.getPackageName(), packageName) && info.isVrOnly()) { // set this is as current inputMethod without updating settings. // set this is as current inputMethod without updating settings. setInputMethodEnabled(info.getId(), true); setInputMethodEnabledLocked(info.getId(), true); setInputMethodLocked(info.getId(), NOT_A_SUBTYPE_ID); setInputMethodLocked(info.getId(), NOT_A_SUBTYPE_ID); break; break; } } Loading