From 30ce2c541e4957b16cdbb3cce3a12494571d0254 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Mon, 27 Oct 2014 17:21:20 +0000 Subject: Rewrite calls to Proxy.getPreferredHttpHost Use java.net.URLConnection which is the only maintained method of making http requests from java. These were the last calls to getPreferredHttpHost and that hidden API will now be deleted. Change-Id: I97e022507ba656f627754af4e889f4812314ea90 --- src/com/android/browser/Tab.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/com/android/browser/Tab.java') diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index 5d564a1..78bf70e 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -795,8 +795,7 @@ class Tab implements PictureListener { } // Have only one async task at a time. if (mTouchIconLoader == null) { - mTouchIconLoader = new DownloadTouchIcon(Tab.this, - mContext, cr, view); + mTouchIconLoader = new DownloadTouchIcon(Tab.this, cr, view); mTouchIconLoader.execute(url); } } -- cgit v1.1