Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
LuckyFarm
Commits
0f65dd97
Commit
0f65dd97
authored
Oct 22, 2020
by
wangxuewei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :幸福农场 [实现方案] :替换buglykey
parent
7486e129
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
BaseApplication.kt
app/src/main/java/com/ym/game/application/BaseApplication.kt
+5
-3
activity_order_list.xml
app/src/main/res/layout/activity_order_list.xml
+1
-1
No files found.
app/src/main/java/com/ym/game/application/BaseApplication.kt
View file @
0f65dd97
...
...
@@ -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)
...
...
app/src/main/res/layout/activity_order_list.xml
View file @
0f65dd97
...
...
@@ -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_
2
0"
android:layout_marginRight=
"@dimen/dp_
1
0"
android:src=
"@mipmap/home_close"
/>
</RelativeLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment