diff --git a/app/build.gradle b/app/build.gradle index af35acca..cb6fa9e2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,7 +15,7 @@ android { defaultConfig { applicationId "at.bitfire.davdroid" minSdkVersion 14 - targetSdkVersion 23 + targetSdkVersion 22 versionCode 79 versionName "0.9.0.1" @@ -39,6 +39,7 @@ android { disable 'InconsistentLayout' disable 'MergeRootFrame' disable 'MissingTranslation' + disable 'OldTargetApi' disable 'RtlEnabled' disable 'Typos' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b36e0acd..6eeeb717 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,23 +11,26 @@ package="at.bitfire.davdroid" android:installLocation="internalOnly"> + - - - - - + + writing to app-private directory doesn't require extra permissions --> - - + + + + + + + + protocols = new LinkedList<>(); for (String protocol : socket.getSupportedProtocols()) - if (!protocol.toUpperCase().contains("SSL")) + if (!protocol.toUpperCase(Locale.US).contains("SSL")) protocols.add(protocol); Constants.log.debug("Setting allowed TLS protocols: " + TextUtils.join(", ", protocols)); SSLSocketFactoryCompat.protocols = protocols.toArray(new String[protocols.size()]);