android: share text (#5745)

This commit is contained in:
Martín Fernández
2020-01-05 12:56:01 +01:00
committed by Frans de Jonge
parent 4e5779199d
commit 5ef329c19c
3 changed files with 14 additions and 0 deletions

View File

@@ -86,6 +86,8 @@ local Device = Generic:new{
canImportFiles = function() return android.app.activity.sdkVersion >= 19 end,
importFile = function(path) android.importFile(path) end,
isValidPath = function(path) return android.isPathInsideSandbox(path) end,
canShareText = yes,
doShareText = function(text) android.sendText(text) end,
canExternalDictLookup = yes,
getExternalDictLookupList = getExternalDicts,