优化
This commit is contained in:
@@ -104,7 +104,7 @@ class CrashHandler(val context: Context) : Thread.UncaughtExceptionHandler {
|
|||||||
map["WebViewUserAgent"] = try {
|
map["WebViewUserAgent"] = try {
|
||||||
WebSettings.getDefaultUserAgent(appCtx)
|
WebSettings.getDefaultUserAgent(appCtx)
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
e.localizedMessage ?: "null"
|
e.toString()
|
||||||
}
|
}
|
||||||
//获取app版本信息
|
//获取app版本信息
|
||||||
AppConst.appInfo.let {
|
AppConst.appInfo.let {
|
||||||
|
|||||||
Reference in New Issue
Block a user