version:1.2

fix:
add:
This commit is contained in:
2022-01-04 15:02:18 +08:00
parent 71e5516ab8
commit d9b05e54cc
23 changed files with 800 additions and 467 deletions

View File

@@ -130,7 +130,7 @@ public class MainService extends Service implements MainContact.MainView, Networ
mPresenter.initAmap();
mPresenter.getUserInfo();
HTTPInterface.sendAppUsed(MainService.this);
// HTTPInterface.sendRunningApp(MainService.this);
HTTPInterface.sendRunningApp(MainService.this);
HTTPInterface.getAPPinfo(MainService.this);
startService();
mPresenter.setAlias();

View File

@@ -98,9 +98,11 @@ public class ManagerService extends Service implements NetworkUtils.OnNetworkSta
public void onNext(Long aLong) {
Log.e("TimeObserver", "onNext: " + aLong);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this), 1234);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.appstore"), 3456);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.browser"), 5678);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.os"), 6789);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.appstore"), 2345);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.browser"), 3456);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.os"), 5678);
Handler.getMain().postDelayed(() -> HTTPInterface.checkUpdate(ManagerService.this, "com.uiui.videoplayer"), 6789);
}
@Override