Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public interface AutomatorService {
* @param conditions If all UiObject in the conditions match, the watcher should be triggered.
* @param keys All keys will be pressed in sequence.
*/
void registerPressKeyskWatcher(String name, Selector[] conditions, String[] keys);
void registerPressKeysWatcher(String name, Selector[] conditions, String[] keys);

/**
* Removes a previously registered UiWatcher.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public void registerClickUiObjectWatcher(String name, Selector[] conditions, Sel
* @param keys All keys will be pressed in sequence.
*/
@Override
public void registerPressKeyskWatcher(String name, Selector[] conditions, String[] keys) {
public void registerPressKeysWatcher(String name, Selector[] conditions, String[] keys) {
synchronized (watchers) {
if (watchers.contains(name)) {
device.removeWatcher(name);
Expand Down