Add input commands handler in input manager service, to support all existing input commands from shell. Redirect the java binary input to execute input manager service command hander to accelerate the execution. With the change the adb input command runs much faster. "input tap <x> <y>" takes less than 10 ms from 500ms to run. Bug: 132724511 Test: adb input tap <x> <y>, adb input swipe <x1> <y1> <x2> <y2> Change-Id: I7d7a41627754e3471b110460e51f777322dfdb97
3 lines
32 B
Bash
Executable File
3 lines
32 B
Bash
Executable File
#!/system/bin/sh
|
|
cmd input "$@"
|