refactor: 重构崩溃处理机制与日志工具

- 优化 CrashHandler 崩溃处理逻辑,统一通知发送逻辑
- 新增 GlobalAppCrashSafetyWire 独立崩溃安全防护类
- 增强 LogUtils 日志工具,补齐异常日志重载方法
- 重构 GlobalCrashActivity 页面,提升稳定性与可读性
- 修复 activity_globalcrash.xml 布局多余符号
- 新增 CrashTestActivity 崩溃测试页面
- 更新 buildCount 编译计数
This commit is contained in:
2026-05-11 14:43:18 +08:00
parent f897f6e9ab
commit 6f5aa807c0
10 changed files with 440 additions and 186 deletions

View File

@@ -2,10 +2,10 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/activityBackgroundColor">>
android:background="?attr/activityBackgroundColor">
<cc.winboll.studio.libappbase.GlobalCrashReportView
android:layout_width="match_parent"