diff options
author | Narayan Kamath <narayan@google.com> | 2014-10-27 17:21:20 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-10-27 17:23:52 +0000 |
commit | 30ce2c541e4957b16cdbb3cce3a12494571d0254 (patch) | |
tree | cda3522247711276364b911e50e4ae9e3d958b64 /src/com/android/browser/Tab.java | |
parent | fe4083510dc773911651456f150bf5432f81a6c0 (diff) | |
download | packages_apps_Browser-30ce2c541e4957b16cdbb3cce3a12494571d0254.zip packages_apps_Browser-30ce2c541e4957b16cdbb3cce3a12494571d0254.tar.gz packages_apps_Browser-30ce2c541e4957b16cdbb3cce3a12494571d0254.tar.bz2 |
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
Diffstat (limited to 'src/com/android/browser/Tab.java')
-rw-r--r-- | src/com/android/browser/Tab.java | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |