version:1.0

update:2021-10-16 18:50:25
fix:增减检查弹窗,修复第一次启动不能自动下载
add:切换到奥乐云平台
This commit is contained in:
2021-10-16 18:51:47 +08:00
parent 3018660216
commit a4c68f0b37
58 changed files with 1028 additions and 194 deletions

View File

@@ -40,7 +40,7 @@ import com.aoleyun.sn.utils.SPUtils;
import com.aoleyun.sn.utils.XAPKUtils;
import com.aoleyun.sn.KeepAliveConnection;
import com.aoleyun.sn.base.BaseApplication;
import com.aoleyun.sn.manager.NetInterfaceManager;
import com.aoleyun.sn.network.NetInterfaceManager;
import com.aoleyun.sn.utils.ApkUtils;
import com.aoleyun.sn.utils.ServiceAliveUtils;
import com.aoleyun.sn.utils.ToastUtil;
@@ -136,6 +136,7 @@ public class GuardService extends Service {
@Override
public void onCreate() {
super.onCreate();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
// 8.0之后需要在
registmNewAppReceiver();
@@ -146,7 +147,6 @@ public class GuardService extends Service {
Observable.create(subscribe)
.throttleFirst(10, TimeUnit.MINUTES)
.subscribe(timeObserver);
super.onCreate();
}
@Override