version:1.1.5

update:
bugfixes:优化闹钟自动接听
This commit is contained in:
2024-08-19 10:30:50 +08:00
parent 9f8057cd33
commit 261016b9bd
103 changed files with 2478 additions and 781 deletions

View File

@@ -23,13 +23,12 @@ import com.xxpatx.os.manager.AmapManager;
import com.xxpatx.os.manager.AppManager;
import com.xxpatx.os.manager.AppStatusManager;
import com.xxpatx.os.manager.ConnectManager;
import com.xxpatx.os.manager.RemoteManager;
import com.xxpatx.os.network.NetInterfaceManager;
import com.xxpatx.os.push.PushManager;
import com.xxpatx.os.service.main.MainService;
import com.xxpatx.os.shortcut.ShortcutUtils;
import com.xxpatx.os.utils.AppUsedTimeUtils;
import com.xxpatx.os.utils.JGYUtils;
import com.xxpatx.os.utils.Utils;
import com.xxpatx.os.utils.WiFiUtils;
public class BaseApplication extends Application {
@@ -69,11 +68,9 @@ public class BaseApplication extends Application {
//切换至开发版服务
HeConfig.switchToDevService();
RemoteManager.init(this);
ConnectManager.init(this);
AppStatusManager.init(this);
NetInterfaceManager.init(this);
JGYUtils.init(this);
try {
startService(new Intent(this, MainService.class));
} catch (Exception e) {
@@ -91,7 +88,7 @@ public class BaseApplication extends Application {
public void onSuccess(String response) {
Log.e("AliyunPush", "init cloudchannel success");
Log.e("AliyunPush", "init cloudchannel success " + pushService.getDeviceId());
String sn = RemoteManager.getInstance().getSerial();
String sn = Utils.getSerial();
if (TextUtils.isEmpty(sn)) {
return;
}