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

Commit 0dc20ab2 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Rename method clearing sessions appropriately

Bug: 205676419
Test: make
Change-Id: I92c43548a275f358e382a260314bb6fa4546ab42
parent 8b08a9f7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ final class InputMethodBindingController {
                    // We consider this to be a new bind attempt, since the system
                    // should now try to restart the service for us.
                    mLastBindTime = SystemClock.uptimeMillis();
                    mService.clearCurMethodLocked();
                    mService.clearClientSessionsLocked();
                    mService.clearInputShowRequestLocked();
                    mService.unbindCurrentClientLocked(UnbindReason.DISCONNECT_IME);
                }
@@ -366,7 +366,7 @@ final class InputMethodBindingController {
        }

        mCurId = null;
        mService.clearCurMethodLocked();
        mService.clearClientSessionsLocked();
    }

    @GuardedBy("mMethodMap")
+1 −1
Original line number Diff line number Diff line
@@ -2589,7 +2589,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
    }

    @GuardedBy("mMethodMap")
    void clearCurMethodLocked() {
    void clearClientSessionsLocked() {
        if (getCurMethod() != null) {
            final int numClients = mClients.size();
            for (int i = 0; i < numClients; ++i) {