中文
修复: 启用模块后小米浏览器启动崩溃的问题。
感谢 @ChenXiaoming233 在 #11 提供崩溃日志协助定位问题。
Bug 修复
- 修复 浏览器启动崩溃 - 模块的 PackageManager hook 在浏览器进程内拦截了自身对 getPackageInfo 的调用,返回的假 PackageInfo 缺少 signatures 字段,浏览器启动时 AppSignatureUtil.getSignature() 读取到 null 数组导致 NPE 崩溃。修复: hookPackageManager 中增加自查询放行判断,当调用进程包名等于查询目标包名时跳过拦截,放行真实数据。
调试版 APK
- 普通用户不需要下载调试版。
- 如果你正在协助排查特定问题、需要抓日志,请前往主仓库下载调试版:https://github.com/DuhMatt/Fxxk-MiBrowser/releases/tag/v1.2.9
English
Fix: Browser crash on startup when the module is enabled.
Thanks to @ChenXiaoming233 for providing crash logs in #11 that helped identify the root cause.
Bug Fixes
- Fix browser startup crash - the PackageManager hook intercepted the browser's own getPackageInfo call and returned a fake PackageInfo without signatures, causing AppSignatureUtil.getSignature() NPE. Fix: Added a self-query guard in hookPackageManager - when the calling package matches the queried target, skip interception and let real data through.
Debug APK
- Ordinary users do not need the debug build.
- If you are helping troubleshoot a specific issue and need log capture, please download the debug build from the main repository release: https://github.com/DuhMatt/Fxxk-MiBrowser/releases/tag/v1.2.9