-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
16 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,14 @@ | |
import android.view.View; | ||
import android.view.WindowManager; | ||
|
||
import androidx.annotation.NonNull; | ||
|
||
import java.util.LinkedList; | ||
import java.util.List; | ||
import java.util.Queue; | ||
|
||
import cc.rome753.activitytask.model.LifecycleInfo; | ||
import cc.rome753.activitytask.view.ActivityTaskView; | ||
import cc.rome753.activitytask.view.FragmentTaskView; | ||
|
||
/** | ||
* Created by [email protected] on 2017/4/16. | ||
|
@@ -90,7 +91,7 @@ void send(LifecycleInfo info) { | |
} | ||
|
||
@Override | ||
public void handleMessage(Message msg) { | ||
public void handleMessage(@NonNull Message msg) { | ||
if (System.currentTimeMillis() - lastTime < interval) { | ||
sendEmptyMessageDelayed(0, interval / 5); | ||
} else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include ':app', ':activitytaskview', ':singleinstancedemo' | ||
include ':app' | ||
include ':activitytaskview' | ||
include ':activitytasklib' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
62 changes: 0 additions & 62 deletions
62
singleinstancedemo/src/main/java/cc/rome753/singleinstancedemo/BrowserActivity.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
singleinstancedemo/src/main/java/cc/rome753/singleinstancedemo/DemoApplication.java
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
singleinstancedemo/src/main/java/cc/rome753/singleinstancedemo/MainActivity.java
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
singleinstancedemo/src/main/res/drawable-v24/ic_launcher_foreground.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.