mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
remove the use_leak_canary constant
This commit is contained in:
@ -1,14 +1,13 @@
|
||||
package com.simplemobiletools.camera
|
||||
|
||||
import android.app.Application
|
||||
import com.simplemobiletools.camera.BuildConfig.USE_LEAK_CANARY
|
||||
import com.simplemobiletools.commons.extensions.checkUseEnglish
|
||||
import com.squareup.leakcanary.LeakCanary
|
||||
|
||||
class App : Application() {
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
if (USE_LEAK_CANARY) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
if (LeakCanary.isInAnalyzerProcess(this)) {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user