remove the storage permission and LeakCanary while theres no export/import

This commit is contained in:
tibbi 2017-12-30 21:38:19 +01:00
parent 15b6e15052
commit 8635777f8f
3 changed files with 4 additions and 6 deletions

View File

@ -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"
}

View File

@ -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"

View File

@ -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()
}