Expose service.copy() for the clipboard plugin.

This commit is contained in:
Simo Kinnunen
2014-05-12 18:24:18 +09:00
parent 66a047ed30
commit f51abd05d2

View File

@@ -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