File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
src/main/kotlin/com/simplemobiletools/filemanager Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,10 @@ android {
2020 }
2121
2222 buildTypes {
23- debug {
24- buildConfigField " boolean" , " USE_LEAK_CANARY" , " true"
25- }
2623 release {
2724 minifyEnabled true
2825 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2926 signingConfig signingConfigs. release
30- buildConfigField " boolean" , " USE_LEAK_CANARY" , " false"
3127 }
3228 }
3329
4642}
4743
4844dependencies {
49- implementation ' com.simplemobiletools:commons:3.0.21 '
45+ implementation ' com.simplemobiletools:commons:3.0.23 '
5046
5147 implementation files(' ../libs/RootTools.jar' )
5248
Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ package com.simplemobiletools.filemanager
33import android.app.Application
44import com.github.ajalt.reprint.core.Reprint
55import com.simplemobiletools.commons.extensions.checkUseEnglish
6- import com.simplemobiletools.filemanager.BuildConfig.USE_LEAK_CANARY
76import com.squareup.leakcanary.LeakCanary
87
98class App : Application () {
109 override fun onCreate () {
1110 super .onCreate()
12- if (USE_LEAK_CANARY ) {
11+ if (BuildConfig . DEBUG ) {
1312 if (LeakCanary .isInAnalyzerProcess(this )) {
1413 return
1514 }
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ class MainActivity : SimpleActivity() {
144144 R .id.set_as_home -> setAsHome()
145145 R .id.temporarily_show_hidden -> tryToggleTemporarilyShowHidden()
146146 R .id.stop_showing_hidden -> tryToggleTemporarilyShowHidden()
147- R .id.settings -> startActivity(Intent (this , SettingsActivity ::class .java))
147+ R .id.settings -> startActivity(Intent (applicationContext , SettingsActivity ::class .java))
148148 R .id.about -> launchAbout()
149149 else -> return super .onOptionsItemSelected(item)
150150 }
You can’t perform that action at this time.
0 commit comments