diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2014-04-08 17:34:00 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2014-05-12 16:52:56 -0700 |
commit | f9cb86aebe9647e0fe0137fc198ba16c017445c6 (patch) | |
tree | 5f7d1e0ab2f48cb39092881266f21f7e11ea33b3 /core/java/android/net/ProxyDataTracker.java | |
parent | 6681e32fff77174b1b93557c08d1fd00375422c0 (diff) | |
download | frameworks_base-f9cb86aebe9647e0fe0137fc198ba16c017445c6.zip frameworks_base-f9cb86aebe9647e0fe0137fc198ba16c017445c6.tar.gz frameworks_base-f9cb86aebe9647e0fe0137fc198ba16c017445c6.tar.bz2 |
Replace LinkCapabilities with NetworkCapabilities
Also remove unused LinkSocket and LinkSocketNotifier.
bug:13885501
Change-Id: Id426e31b201fa4f29109b5fea485d8efb34519d3
Diffstat (limited to 'core/java/android/net/ProxyDataTracker.java')
-rw-r--r-- | core/java/android/net/ProxyDataTracker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/net/ProxyDataTracker.java b/core/java/android/net/ProxyDataTracker.java index 461e8b8..4973b3d 100644 --- a/core/java/android/net/ProxyDataTracker.java +++ b/core/java/android/net/ProxyDataTracker.java @@ -104,7 +104,7 @@ public class ProxyDataTracker extends BaseNetworkStateTracker { public ProxyDataTracker() { mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_PROXY, 0, NETWORK_TYPE, ""); mLinkProperties = new LinkProperties(); - mLinkCapabilities = new LinkCapabilities(); + mNetworkCapabilities = new NetworkCapabilities(); mNetworkInfo.setIsAvailable(true); try { mLinkProperties.addDns(InetAddress.getByName(DNS1)); |