Remove binder tracing from IMS

Binder tracing can be very expensive. In dogfood builds its triggered
time to time and it should only be called manually when needed.

Fix: 202721321
Test: atest CtsInputMethodtestCases
      tested with winscope trace.

Change-Id: I0a4ee1b90e56ed1b20e44b5a0b42c17d565d05dd
This commit is contained in:
Taran Singh
2021-10-11 19:11:24 +00:00
parent 3dcea69858
commit 70021e0f8a

View File

@@ -790,11 +790,6 @@ public class InputMethodService extends AbstractInputMethodService {
return;
}
if (Trace.isEnabled()) {
Binder.enableTracing();
} else {
Binder.disableTracing();
}
Trace.traceBegin(TRACE_TAG_WINDOW_MANAGER, "IMS.showSoftInput");
ImeTracing.getInstance().triggerServiceDump(
"InputMethodService.InputMethodImpl#showSoftInput", InputMethodService.this,