mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Expose service.copy() for the clipboard plugin.
This commit is contained in:
@@ -270,6 +270,12 @@ module.exports = syrup.serial()
|
||||
})
|
||||
}
|
||||
|
||||
plugin.copy = function() {
|
||||
// @TODO Not sure how to force the device to copy the current selection
|
||||
// yet.
|
||||
return plugin.getClipboard()
|
||||
}
|
||||
|
||||
plugin.wake = function() {
|
||||
return runAgentCommand(
|
||||
apk.wire.MessageType.DO_WAKE
|
||||
|
||||
Reference in New Issue
Block a user