|
|
@@ -123,6 +123,9 @@ public class FloatService extends Service {
|
|
|
runTime += System.currentTimeMillis() - SheepApp.getInstance().getLastTime();
|
|
|
SheepApp.getInstance().setLastTime(System.currentTimeMillis());
|
|
|
}
|
|
|
+ if(runTime <= 0){//时间小于等于0则不提交
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
MyDbManager.getInstance().removeAppRecord();
|
|
|
System.out.println("MonitorAppService runTime = "+runTime);
|