Loading core/java/android/view/inputmethod/InputMethodManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -354,8 +354,12 @@ public final class InputMethodManager { * @hide */ public static void ensureDefaultInstanceForDefaultDisplayIfNecessary() { // Skip this call if we are in system_server, as the system code should not use this // deprecated instance. if (!ActivityThread.isSystem()) { forContextInternal(Display.DEFAULT_DISPLAY, Looper.getMainLooper()); } } private static final Object sLock = new Object(); Loading Loading
core/java/android/view/inputmethod/InputMethodManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -354,8 +354,12 @@ public final class InputMethodManager { * @hide */ public static void ensureDefaultInstanceForDefaultDisplayIfNecessary() { // Skip this call if we are in system_server, as the system code should not use this // deprecated instance. if (!ActivityThread.isSystem()) { forContextInternal(Display.DEFAULT_DISPLAY, Looper.getMainLooper()); } } private static final Object sLock = new Object(); Loading