Go to file
yjj38 6b507223b3 refactor(device): 重构设备信息修改逻辑并集成ArmCloud API
- 将设备信息修改的硬编码字符串替换为常量。
- `changeDeviceInfo` 方法现在接收 `ArmCloudApiClient` 和 `padCodes` 作为参数。
- 优化了Bigo和AF设备信息的处理逻辑,当对应的 `bigoDeviceObject` 或 `afDeviceObject` 为空时,会跳过相关设置并记录警告。
- 对于AF设备信息的系统属性修改,现在使用 `ArmCloudApiClient` 的 `updateInstanceProperties` 方法进行更新,替代了原有的 `ShellUtils.execRootCmd` 调用。
- 新增 `addProperty` 辅助方法,用于向 `List<PropertyItem>` 中添加非空属性。
- 新增 `execRootCmdIfNotEmpty` 辅助方法,用于执行非空的Shell命令并记录结果。
- 移除了直接通过 `ShellUtils.execRootCmd` 修改系统属性的代码,例如 `setprop ro.product.brand` 等。
- 确保在发生错误时抛出原始异常类型,而不是统一包装成 `RuntimeException`。
2025-07-09 18:36:26 +08:00
.idea feat(release): 新增签名配置并更新构建类型 2025-07-04 11:17:03 +08:00
app refactor(device): 重构设备信息修改逻辑并集成ArmCloud API 2025-07-09 18:36:26 +08:00
gradle Collect detailed device and environment info for VCloud 2025-06-09 16:45:29 +08:00
.gitignore init 2025-05-20 16:39:05 +08:00
af.json Enhance `ChangeDeviceInfoUtil` and `HttpUtil` for dynamic property updates and robust utilities 2025-06-12 11:31:46 +08:00
bigo.json Enhance `ChangeDeviceInfoUtil` and `HttpUtil` for dynamic property updates and robust utilities 2025-06-12 11:31:46 +08:00
build.gradle Integrate WorkManager for periodic accessibility service checks 2025-06-07 09:52:33 +08:00
clash-ipidea-20250609.yaml Enhance `ChangeDeviceInfoUtil` and `HttpUtil` for dynamic property updates and robust utilities 2025-06-12 11:31:46 +08:00
cmd refactor(retention): 重构项目并添加新功能 2025-07-09 17:04:18 +08:00
err.log refactor(retention): 重构项目并添加新功能 2025-07-09 17:04:18 +08:00
gradle.properties refactor(ChangeDeviceInfoUtil, MainActivity): enhance package processing null-check, cleanup unused variables 2025-06-25 10:56:53 +08:00
gradlew init 2025-05-20 16:39:05 +08:00
gradlew.bat init 2025-05-20 16:39:05 +08:00
main.js refactor(main): 重构主函数并添加日志记录功能 2025-07-03 16:32:34 +08:00
settings.gradle Add VPN service, Shell utility, and server communication support 2025-05-22 18:13:34 +08:00