From 18c1d8301d8f544ae133198459bbf2698d80a14b Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Fri, 31 Jul 2015 10:35:34 -0700 Subject: [PATCH] Fix build. Change-Id: Icdf6fa14e53a1c030d0d90205d3bf2d7610b6196 --- core/java/android/net/ConnectivityManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/java/android/net/ConnectivityManager.java b/core/java/android/net/ConnectivityManager.java index 545e2fea72..abed1f04da 100644 --- a/core/java/android/net/ConnectivityManager.java +++ b/core/java/android/net/ConnectivityManager.java @@ -896,7 +896,7 @@ public class ConnectivityManager { * * @deprecated Deprecated in favor of the cleaner * {@link #requestNetwork(NetworkRequest, NetworkCallback)} API. - * In {@link VERSION_CODES#MNC}, and above, this method is unsupported and will + * In {@link VERSION_CODES#M}, and above, this method is unsupported and will * throw {@code UnsupportedOperationException} if called. */ public int startUsingNetworkFeature(int networkType, String feature) { @@ -946,7 +946,7 @@ public class ConnectivityManager { * always indicates failure. * * @deprecated Deprecated in favor of the cleaner {@link #unregisterNetworkCallback} API. - * In {@link VERSION_CODES#MNC}, and above, this method is unsupported and will + * In {@link VERSION_CODES#M}, and above, this method is unsupported and will * throw {@code UnsupportedOperationException} if called. */ public int stopUsingNetworkFeature(int networkType, String feature) { @@ -1228,7 +1228,7 @@ public class ConnectivityManager { * @deprecated Deprecated in favor of the * {@link #requestNetwork(NetworkRequest, NetworkCallback)}, * {@link #bindProcessToNetwork} and {@link Network#getSocketFactory} API. - * In {@link VERSION_CODES#MNC}, and above, this method is unsupported and will + * In {@link VERSION_CODES#M}, and above, this method is unsupported and will * throw {@code UnsupportedOperationException} if called. */ public boolean requestRouteToHost(int networkType, int hostAddress) { @@ -2742,7 +2742,7 @@ public class ConnectivityManager { return; } - unsupportedStartingFrom(VERSION_CODES.MNC); + unsupportedStartingFrom(VERSION_CODES.M); } /**