diff options
Diffstat (limited to 'OpenKeychain')
-rw-r--r-- | OpenKeychain/build.gradle | 7 | ||||
-rw-r--r-- | OpenKeychain/src/main/AndroidManifest.xml | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/OpenKeychain/build.gradle b/OpenKeychain/build.gradle index 32ae8ceb0..ec6d2c35d 100644 --- a/OpenKeychain/build.gradle +++ b/OpenKeychain/build.gradle @@ -20,11 +20,12 @@ dependencies { compile project(':extern:KeybaseLib:Lib') compile project(':extern:TokenAutoComplete:library') compile project(':extern:openpgp-card-nfc-lib:library') + compile project(':extern:safeslinger-exchange') } android { compileSdkVersion 19 - buildToolsVersion "19.1" + buildToolsVersion '19.1' defaultConfig { minSdkVersion 9 @@ -67,7 +68,7 @@ android { checkAllWarnings true htmlReport true - htmlOutput file("lint-report.html") + htmlOutput file('lint-report.html') } // Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems @@ -78,7 +79,7 @@ android { // NOTE: This disables Lint! tasks.whenTaskAdded { task -> - if (task.name.contains("lint")) { + if (task.name.contains('lint')) { task.enabled = false } } diff --git a/OpenKeychain/src/main/AndroidManifest.xml b/OpenKeychain/src/main/AndroidManifest.xml index 0e5ffe8b3..e644012eb 100644 --- a/OpenKeychain/src/main/AndroidManifest.xml +++ b/OpenKeychain/src/main/AndroidManifest.xml @@ -54,6 +54,7 @@ <uses-permission android:name="org.sufficientlysecure.keychain.WRITE_TEMPORARY_STORAGE" /> <uses-permission android:name="android.permission.INTERNET" /> + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.NFC" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |