mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	remove the storage permission and LeakCanary while theres no export/import
This commit is contained in:
		| @@ -39,6 +39,6 @@ dependencies { | ||||
|     implementation 'com.simplemobiletools:commons:3.5.2' | ||||
|     implementation 'joda-time:joda-time:2.9.9' | ||||
|  | ||||
|     debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" | ||||
|     releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" | ||||
|     //debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion" | ||||
|     //releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion" | ||||
| } | ||||
|   | ||||
| @@ -8,7 +8,6 @@ | ||||
|     <uses-permission android:name="android.permission.CALL_PHONE"/> | ||||
|     <uses-permission android:name="android.permission.READ_CONTACTS"/> | ||||
|     <uses-permission android:name="android.permission.WRITE_CONTACTS"/> | ||||
|     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | ||||
|  | ||||
|     <uses-permission | ||||
|         android:name="android.permission.USE_FINGERPRINT" | ||||
|   | ||||
| @@ -2,17 +2,16 @@ package com.simplemobiletools.contacts | ||||
|  | ||||
| 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 (BuildConfig.DEBUG) { | ||||
|             if (LeakCanary.isInAnalyzerProcess(this)) { | ||||
|                 return | ||||
|             } | ||||
|             LeakCanary.install(this) | ||||
|         } | ||||
|         }*/ | ||||
|  | ||||
|         checkUseEnglish() | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user