feat: 增加联系人增删改查

This commit is contained in:
tongtong committed 2026-05-19 11:40:50 +08:00
1 parent da83e852e0
commit c878c307b3
1129 files changed
+10342 -2682

No files matched your search

@@ -58,7 +58,7 @@ public class BaseApplication extends Application {
super.onCreate();
Logger.e(TAG, "onCreate: ");
mAppContext = getApplicationContext();
if (!BuildConfig.DEBUG) {
catchException();
}
@@ -103,13 +103,8 @@ public class BaseApplication extends Application {
AppManager.init(this);
MapManager.init(this);
MapManager.getInstance().initMap();
boolean manually = mMMKV.decodeBool(CommonConfig.MANUALLY_SELECT_LOCATION, false);
Logger.e(TAG, "init: manually location " + manually);
if (manually) {
MapManager.getInstance().startLocation();
} else {
MapManager.getInstance().startLocation();
}
WeatherManager.init(this);
IconCacheManager.init(this);
}
@@ -129,7 +124,7 @@ public class BaseApplication extends Application {
return;
}
JPushInterface.init(this);
JPushInterface.setAlias(this, 0, SystemUtils.getSerial());
JPushInterface.setAlias(this, 0, DeviceManagerService.getInstance().getSerial());
// 调整点二:App用户同意了隐私政策授权,并且开发者确定要开启推送服务后调用
// JCore 5.0.4+会自动处理授权状态,可不需要显式设置true