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
8 lines
105 B
Plaintext
8 lines
105 B
Plaintext
// Copyright 2008 The Android Open Source Project
|
|
//
|
|
|
|
sh_binary {
|
|
name: "input",
|
|
src: "input",
|
|
}
|