Add: Volume Changing to stop scripts, Fix: Automator ANR

This commit is contained in:
hyb1996
2017-03-20 16:04:59 +08:00
parent c9927a3ce3
commit 1f05bcce98
47 changed files with 497 additions and 141 deletions

View File

@@ -135,6 +135,14 @@ var setClip = function(text){
droid.setClip(text);
}
var getPackageName = function(appName){
return droid.getPackageName(appName);
}
var openAppSetting = function(packageName){
return droid.openAppSetting(packageName);
}
var Tap = function(x, y){
return shell("input tap " + x + " " + y, true).code == 1;
}
@@ -202,7 +210,6 @@ var Text = function(text){
return shell("input text " + text, true).code == 1;
}
var __selector__ = droid.selector();
var __obj__ = new java.lang.Object();