Skip to content

Commit

Permalink
Refactor: split into modules autojs, common, app and automator
Browse files Browse the repository at this point in the history
  • Loading branch information
hyb1996 committed Apr 2, 2017
1 parent e7500e6 commit bfabef6
Show file tree
Hide file tree
Showing 182 changed files with 2,498 additions and 5,817 deletions.
8 changes: 8 additions & 0 deletions .idea/dictionaries/Stardust.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,6 @@ dependencies {
compile(name: '920-file_explorer-release', ext: 'aar')
compile(name: '920-app-debug', ext: 'aar')
compile project(':automator')
compile project(':common')
compile project(':autojs')
}
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<activity
android:name=".ui.error.IssueReportActivity"
android:theme="@style/IssueReportTheme"/>
<activity android:name=".droid.script.ScriptExecuteActivity"/>

<service android:name=".service.VolumeChangeObverseService"/>
<service android:name="com.stardust.view.Floaty$FloatHeadService"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package android.bug;
package android.workground;

import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/stardust/app/Fragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import android.view.View;
import android.view.ViewGroup;

import com.stardust.scriptdroid.tool.ViewTool;
import com.stardust.util.ViewUtil;

/**
* Created by Stardust on 2017/1/30.
Expand All @@ -23,7 +23,7 @@ public View getView() {
}

public <T extends View> T $(int id) {
return ViewTool.$(mView, id);
return ViewUtil.$(mView, id);
}

public View findViewById(int id) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package com.stardust.app;

import android.app.Activity;
import android.app.Application;
import android.os.Bundle;

/**
* Created by Stardust on 2017/4/2.
*/

public class SimpleActivityLifecycleCallbacks implements Application.ActivityLifecycleCallbacks {

@Override
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {

}

@Override
public void onActivityStarted(Activity activity) {

}

@Override
public void onActivityResumed(Activity activity) {

}

@Override
public void onActivityPaused(Activity activity) {

}

@Override
public void onActivityStopped(Activity activity) {

}

@Override
public void onActivitySaveInstanceState(Activity activity, Bundle outState) {

}

@Override
public void onActivityDestroyed(Activity activity) {

}
}
129 changes: 0 additions & 129 deletions app/src/main/java/com/stardust/hover/HoverMenuService.java

This file was deleted.

Loading

0 comments on commit bfabef6

Please sign in to comment.