Merge "Add missing traceEnd in IMMS#showSoftInput for the invalid call" into udc-dev

This commit is contained in:
Ming-Shin Lu
2023-03-03 15:01:51 +00:00
committed by Android (Google) Code Review

View File

@@ -3325,6 +3325,7 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub
if (!canInteractWithImeLocked(uid, client, "showSoftInput", statsToken)) {
ImeTracker.forLogging().onFailed(
statsToken, ImeTracker.PHASE_SERVER_CLIENT_FOCUSED);
Trace.traceEnd(TRACE_TAG_WINDOW_MANAGER);
return false;
}
final long ident = Binder.clearCallingIdentity();