Set toolType for 'input tap' events

When the events are injected with 'input tap', currently the tool type
is set to 'UNKNOWN'.
But for these events, we already know the source, so we can set a better
tool type to make these more consistent.

Set the toolType for these events according to the source.

Bug: 148307381
Test: atest InputShellCommandTest
Change-Id: I712eac5e6f9c03f45c6ef6ba2f9a0acd94baaf86
1 file changed