Repository navigation
目标应用:com.example.hikerview 8.82(versionCode 5590)
本版本修复模块 App 进程被系统/OEM 清理后配置失效的问题:
- 设置端使用同步 commit() 持久化 hiker_search_module_config/config_json
- 目标进程按 XSharedPreferences -> ContentProvider -> target-process snapshot 读取
- Provider、XSharedPreferences 临时失败时保留 last-known-good 配置
- schema 1 自动迁移到 schema 2,新增 configRevision 并按 revision 选择最新配置
- snapshot 带 schema、目标 versionCode、revision 和 SHA-256 校验
- 不再写入海阔视界 share_data.xml
- 不使用前台服务、常驻通知或其他保活机制
构建验证:
- testDebugUnitTest:43 项通过,0 failures,0 errors
- lintDebug:通过
- assembleDebug:通过
- APK 大小:1572628 bytes
- SHA-256:4C5B7BC732FBD7144871AD23695400CFA31C2B4433788C4BE0E53865128F1537
范围:仍只支持海阔视界 8.82 的 26 项内置搜索引擎顺序和固定默认引擎,不包含自定义搜索引擎或自定义 URL。