Skip to content

Commit

Permalink
开启LeakCanary
Browse files Browse the repository at this point in the history
  • Loading branch information
王志昱 committed Nov 12, 2019
1 parent 78b4162 commit ba6ff10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/src/main/java/my/itgungnir/rxmvvm/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class App : MultiDexApplication() {
MyRedux.init(this)

if (LeakCanary.isInAnalyzerProcess(this)) {
LeakCanary.install(this)
return
}
LeakCanary.install(this)
}
}
2 changes: 1 addition & 1 deletion config.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
// Build
gradle_version = '3.5.0'
gradle_version = '3.5.2'
target_sdk_version = 28
min_sdk_version = 19
version_code = 1
Expand Down

0 comments on commit ba6ff10

Please sign in to comment.