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

Commit f246bea9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary Binder.clearCallingIdentity()"

parents 741ec3ed fa49c000
Loading
Loading
Loading
Loading
+7 −12
Original line number Diff line number Diff line
@@ -2634,8 +2634,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        if (!calledFromValidUser()) {
            return;
        }
        final long ident = Binder.clearCallingIdentity();
        try {
        synchronized (mMethodMap) {
            if (!calledWithValidToken(token)) {
                final int uid = Binder.getCallingUid();
@@ -2645,9 +2643,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
            }
        }
        mWindowManagerInternal.clearLastInputMethodWindowForTransition();
        } finally {
            Binder.restoreCallingIdentity(ident);
        }
    }

    @Override