mirror of
				https://github.com/SimpleMobileTools/Simple-Draw.git
				synced 2025-06-05 21:59:17 +02:00 
			
		
		
		
	lets remove LeakCanary, it got too annoying
This commit is contained in:
		| @@ -40,15 +40,8 @@ android { | ||||
|     } | ||||
| } | ||||
|  | ||||
| ext { | ||||
|     leakCanaryVersion = '1.6.1' | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation 'com.simplemobiletools:commons:4.7.0' | ||||
|  | ||||
|     debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" | ||||
|     releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" | ||||
| } | ||||
|  | ||||
| Properties props = new Properties() | ||||
|   | ||||
| @@ -2,18 +2,10 @@ package com.simplemobiletools.draw | ||||
|  | ||||
| import android.app.Application | ||||
| import com.simplemobiletools.commons.extensions.checkUseEnglish | ||||
| import com.squareup.leakcanary.LeakCanary | ||||
|  | ||||
| class App : Application() { | ||||
|     override fun onCreate() { | ||||
|         super.onCreate() | ||||
|         if (BuildConfig.DEBUG) { | ||||
|             if (LeakCanary.isInAnalyzerProcess(this)) { | ||||
|                 return | ||||
|             } | ||||
|             LeakCanary.install(this) | ||||
|         } | ||||
|  | ||||
|         checkUseEnglish() | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user