Refactor: split into modules autojs, common, app and automator

This commit is contained in:
hyb1996
2017-04-03 00:43:15 +08:00
parent e7500e6e21
commit bfabef6a0e
182 changed files with 2521 additions and 5840 deletions

View File

@@ -150,7 +150,7 @@ public class Floaty {
*/
public static synchronized Floaty getInstance() {
if (floaty == null) {
throw new NullPointerException("Floaty not initialized! First call createInstance method, then to access Floaty in any other class call getInstance()");
throw new NullPointerException("Floaty not initialized! First call createInstance method, then to access Floaty in any other class call getDefault()");
}
return floaty;
}

View File

@@ -18,7 +18,7 @@ import android.view.WindowManager;
import android.widget.RelativeLayout;
import com.stardust.scriptdroid.R;
import com.stardust.scriptdroid.tool.ViewTool;
import com.stardust.util.ViewUtil;
import com.stardust.widget.ViewSwitcher;
/**
@@ -369,7 +369,7 @@ public class ResizableFloaty {
public ResizeGesture(WindowBridge windowBridge, View resizerView) {
mWindowBridge = windowBridge;
mResizerView = resizerView;
mStatusBarHeight = ViewTool.getStatusBarHeight(resizerView.getContext());
mStatusBarHeight = ViewUtil.getStatusBarHeight(resizerView.getContext());
}
public void setMinHeight(int minHeight) {