Refactor: split into modules autojs, common, app and automator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user