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

Commit 4bec9bee authored by Felix Stern's avatar Felix Stern Committed by Android (Google) Code Review
Browse files

Merge "Unbind Input Method if it was forcefully stopped" into main

parents c531b6e6 d0b16e85
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -378,6 +378,12 @@ final class InputMethodBindingController {
     */
    @GuardedBy("ImfLock.class")
    private final ServiceConnection mMainConnection = new ServiceConnection() {
        @Override
        public void onBindingDied(ComponentName name) {
            synchronized (ImfLock.class) {
                unbindCurrentMethod();
            }
        }
        @Override
        public void onServiceConnected(ComponentName name, IBinder service) {
            Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "IMMS.onServiceConnected");