From 61f62835299b37bb7ed1a50716004047fb358624 Mon Sep 17 00:00:00 2001 From: Martin Herndl Date: Thu, 19 Nov 2015 09:52:04 +0100 Subject: Remove usage legacy HTTP Client Improved the "LookupUtils" to not use the deprecated HTTP classes but "HttpURLConnection" instead. Contrary to the Apache HTTP client the HttURLConnection is still existing in Android 6 and seems to be more efficient besides being compatible with SSL SNI. Furthermore set the missing "formattedNumber" attribute when the "ContactBuilder" is creating the "ContactInfo" object after lookups. Change-Id: I01be4fa09ceba7338aac63e2c718704fa1941ee5 --- Android.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index d398061ae..0e8cb5a7b 100644 --- a/Android.mk +++ b/Android.mk @@ -33,8 +33,7 @@ LOCAL_AAPT_FLAGS := \ --extra-packages com.android.contacts.common \ --extra-packages com.android.phone.common -LOCAL_JAVA_LIBRARIES := telephony-common \ - org.apache.http.legacy +LOCAL_JAVA_LIBRARIES := telephony-common LOCAL_STATIC_JAVA_LIBRARIES := \ android-common \ -- cgit v1.2.3