Commit 0f65dd97 authored by wangxuewei's avatar wangxuewei

[提交人]:王雪伟

[提交简述] :幸福农场
[实现方案] :替换buglykey
parent 7486e129
......@@ -61,16 +61,18 @@ class BaseApplication : MultiDexApplication() {
isDebug = false
}
//========== Bugly ==========
val strategy = CrashReport.UserStrategy(this)
strategy.appChannel = getChannelDada()
val context = applicationContext
// 获取当前包名
val packageName = context.packageName
val packageName = packageName
// 获取当前进程名
val processName = getProcessName(Process.myPid())
// 设置是否为上报进程
strategy.isUploadProcess = processName == null || processName == packageName
CrashReport.initCrashReport(getApplicationContext(), "40207ccc8f", isDebug,strategy);
//Bugly初始化
CrashReport.initCrashReport(this, "6432d43d7e", isDebug, strategy)
//========== Bugly ==========
// AdMngrHolder.init(this)
// ToponManager.init(this,isDebug)
......
......@@ -78,6 +78,6 @@
android:layout_alignTop="@id/id_img_order_list_title"
android:layout_alignRight="@id/id_img_order_list_title"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_20"
android:layout_marginRight="@dimen/dp_10"
android:src="@mipmap/home_close" />
</RelativeLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment