hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1653869 - in /httpcomponents/httpclient-android/branches/4.3.5-android: build.gradle src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java
Date Thu, 22 Jan 2015 14:16:52 GMT
Author: olegk
Date: Thu Jan 22 14:16:52 2015
New Revision: 1653869

URL: http://svn.apache.org/r1653869
Log:
HTTPCLIENT-1591: downgraded target SDK version to 9 (GINGERBREAD)

Modified:
    httpcomponents/httpclient-android/branches/4.3.5-android/build.gradle
    httpcomponents/httpclient-android/branches/4.3.5-android/src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java

Modified: httpcomponents/httpclient-android/branches/4.3.5-android/build.gradle
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/branches/4.3.5-android/build.gradle?rev=1653869&r1=1653868&r2=1653869&view=diff
==============================================================================
--- httpcomponents/httpclient-android/branches/4.3.5-android/build.gradle (original)
+++ httpcomponents/httpclient-android/branches/4.3.5-android/build.gradle Thu Jan 22 14:16:52
2015
@@ -51,12 +51,12 @@ ext.inceptionYear = '1999'
 
 android {
 
-    compileSdkVersion 17
+    compileSdkVersion 9
     buildToolsVersion "19.1.0"
 
     defaultConfig {
-        minSdkVersion 8
-        targetSdkVersion 17
+        minSdkVersion 9
+        targetSdkVersion 9
     }
 
     compileOptions {

Modified: httpcomponents/httpclient-android/branches/4.3.5-android/src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/branches/4.3.5-android/src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java?rev=1653869&r1=1653868&r2=1653869&view=diff
==============================================================================
--- httpcomponents/httpclient-android/branches/4.3.5-android/src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java
(original)
+++ httpcomponents/httpclient-android/branches/4.3.5-android/src/main/java/org/apache/http/conn/ssl/SSLConnectionSocketFactory.java
Thu Jan 22 14:16:52 2015
@@ -282,7 +282,7 @@ public class SSLConnectionSocketFactory
         }
     }
 
-    @TargetApi(17)
+    @TargetApi(9)
     public Socket createLayeredSocket(
             final Socket socket,
             final String target,
@@ -319,7 +319,7 @@ public class SSLConnectionSocketFactory
         prepareSocket(sslsock);
 
         // Android specific code to enable SNI
-        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
+        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) {
             if (Log.isLoggable(TAG, Log.DEBUG)) {
                 Log.d(TAG, "Enabling SNI for " + target);
             }



Mime
View raw message