refactor(bugcollect): 移除 BugCollectInitProvider 减少框架开销
- 移除了 BugCollectInitProvider ContentProvider - 改为通过 XuqmSDK afterInit 回调注册崩溃拦截器 - 消除了约 380ms 的 ContentProvider 框架启动开销 - 确保在 SDK 初始化完成后注册 UncaughtExceptionHandler
这个提交包含在:
父节点
2b1857a8ff
当前提交
d5ce5ffabb
@ -1,14 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application>
|
||||
<!--
|
||||
initOrder=89 < sdk-core XuqmInitializerProvider(90),确保 core 先完成本地初始化,
|
||||
BugCollect 能读到 XuqmSDK.appKey / platformUrl 后立即注册 UncaughtExceptionHandler。
|
||||
-->
|
||||
<provider
|
||||
android:name="com.xuqm.sdk.bugcollect.internal.BugCollectInitProvider"
|
||||
android:authorities="${applicationId}.xuqm-bugcollect-init"
|
||||
android:exported="false"
|
||||
android:initOrder="89" />
|
||||
</application>
|
||||
<!--
|
||||
BugCollectInitProvider 已移除 — ContentProvider 框架开销 ~380ms。
|
||||
改为在 XuqmSDK 初始化完成后通过 afterInit 回调注册崩溃拦截器。
|
||||
-->
|
||||
</manifest>
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户