Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4603d3c authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Bring back old constructor for layoutlib.

Bug: 28634953
Change-Id: I72edcdc498b4d85d68e85768dcf839ecb1ab5db7
parent 012d5e05
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -625,8 +625,12 @@ public final class InputMethodManager {
    final InputConnection mDummyInputConnection = new BaseInputConnection(this, false);

    InputMethodManager(Looper looper) throws ServiceNotFoundException {
        mService = IInputMethodManager.Stub.asInterface(
                ServiceManager.getServiceOrThrow(Context.INPUT_METHOD_SERVICE));
        this(IInputMethodManager.Stub.asInterface(
                ServiceManager.getServiceOrThrow(Context.INPUT_METHOD_SERVICE)), looper);
    }

    InputMethodManager(IInputMethodManager service, Looper looper) {
        mService = service;
        mMainLooper = looper;
        mH = new H(looper);
        mIInputContext = new ControlledInputConnectionWrapper(looper,