version:1.6.0317

bugfixes:修复网络黑白名单报错
add:增加设置菜单管控,增加中性桌面包名
This commit is contained in:
2026-03-18 11:55:44 +08:00
parent b8a5454a0d
commit 2029f7020f
8 changed files with 108 additions and 83 deletions

View File

@@ -97,7 +97,6 @@ import static android.os.BatteryManager.EXTRA_TECHNOLOGY;
import static android.os.BatteryManager.EXTRA_TEMPERATURE;
import static android.os.BatteryManager.EXTRA_VOLTAGE;
/**
* 守护进程 双进程通讯
*
@@ -222,13 +221,15 @@ public class GuardService extends Service {
Observable.create(restSubscribe)
.throttleFirst(1, TimeUnit.MINUTES)
.subscribe(resetObserver);
Aria.download(this).register();
Aria.download(this).resumeAllTask();
}
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
Log.e(TAG, "onStartCommand: ");
Aria.download(this).register();
Aria.download(this).resumeAllTask();
// 绑定建立链接
bindService(new Intent(this, StepService.class), mServiceConnection, Context.BIND_IMPORTANT);
return START_STICKY;