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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user