diff options
author | Martin Herndl <martin.herndl@gmail.com> | 2015-11-19 09:52:04 +0100 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2015-12-04 18:57:26 -0800 |
commit | 61f62835299b37bb7ed1a50716004047fb358624 (patch) | |
tree | a2ba9c1d343ba657ff955bdee763ae7c48dc100c /Android.mk | |
parent | 186fdb7e0eb7db5dff978dc740225bdbd44dce36 (diff) | |
download | android_packages_apps_Dialer-61f62835299b37bb7ed1a50716004047fb358624.tar.gz android_packages_apps_Dialer-61f62835299b37bb7ed1a50716004047fb358624.tar.bz2 android_packages_apps_Dialer-61f62835299b37bb7ed1a50716004047fb358624.zip |
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
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 3 |
1 files changed, 1 insertions, 2 deletions
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 \ |