agent-bigo/app
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
..
release refactor(retention): 重构项目并添加新功能 2025-07-09 17:04:18 +08:00
src refactor(device): 重构设备信息修改逻辑并集成ArmCloud API 2025-07-09 18:36:26 +08:00
.gitignore init 2025-05-20 16:39:05 +08:00
agent_retention.jks feat(release): 新增签名配置并更新构建类型 2025-07-04 11:17:03 +08:00
build.gradle refactor(retention): 重构项目并添加新功能 2025-07-09 17:04:18 +08:00
lint-baseline.xml Add configuration files and remove redundant code 2025-05-30 12:24:32 +08:00
proguard-rules.pro init 2025-05-20 16:39:05 +08:00