use of com.android.layoutlib.bridge.android.BridgeIInputMethodManager in project android_frameworks_base by ResurrectionRemix.
the class InputMethodManager_Delegate method getInstance.
// ---- Overridden methods ----
@LayoutlibDelegate
static /*package*/
InputMethodManager getInstance() {
synchronized (InputMethodManager.class) {
InputMethodManager imm = InputMethodManager.peekInstance();
if (imm == null) {
imm = new InputMethodManager(new BridgeIInputMethodManager(), Looper.getMainLooper());
InputMethodManager.sInstance = imm;
}
return imm;
}
}
Aggregations