Notify InputManagerService when an IME is active

Whether the IME is active will determine the tracing level used for
input events on debuggable builds.

Bug: 210460522
Test: manual with perfetto
Change-Id: Iee946285b705e60c87da6e6ee65cc05954c583ae
5 files changed