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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21704903

Change-Id: I9c9f481d96f845cd1e05cdddeb4e3889110de25f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ming-Shin Lu
2023-03-03 18:00:20 +00:00
committed by Automerger Merge Worker

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();