diff options
| author | 2014-05-14 15:56:31 +0000 | |
|---|---|---|
| committer | 2014-05-14 15:56:32 +0000 | |
| commit | 16fa43a28dcaca0369f95a09981418d07584a75e (patch) | |
| tree | 749e64d79cb010bcb4f2c149847bbdeb1c549cb5 | |
| parent | 93ffc21fc6accb8f9fb4b6069a20006e557cf090 (diff) | |
| parent | 7a91a7434af6542486466b88ad0bc8860fd1c594 (diff) | |
Merge "Undeprecate funcs until we're ready for api-review"
| -rw-r--r-- | core/java/android/net/ConnectivityManager.java | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/core/java/android/net/ConnectivityManager.java b/core/java/android/net/ConnectivityManager.java index 5c1c2b1d9e8b..a414421aee4b 100644 --- a/core/java/android/net/ConnectivityManager.java +++ b/core/java/android/net/ConnectivityManager.java @@ -547,12 +547,13 @@ public class ConnectivityManager { * @param preference the network type to prefer over all others. It is * unspecified what happens to the old preferred network in the * overall ordering. - * @deprecated Functionality has been removed as it no longer makes sense, - * with many more than two networks - we'd need an array to express - * preference. Instead we use dynamic network properties of - * the networks to describe their precedence. */ public void setNetworkPreference(int preference) { + // TODO - deprecate with: + // @deprecated Functionality has been removed as it no longer makes sense, + // with many more than two networks - we'd need an array to express + // preference. Instead we use dynamic network properties of + // the networks to describe their precedence. } /** @@ -562,12 +563,13 @@ public class ConnectivityManager { * * <p>This method requires the caller to hold the permission * {@link android.Manifest.permission#ACCESS_NETWORK_STATE}. - * @deprecated Functionality has been removed as it no longer makes sense, - * with many more than two networks - we'd need an array to express - * preference. Instead we use dynamic network properties of - * the networks to describe their precedence. */ public int getNetworkPreference() { + // TODO - deprecate with: + // @deprecated Functionality has been removed as it no longer makes sense, + // with many more than two networks - we'd need an array to express + // preference. Instead we use dynamic network properties of + // the networks to describe their precedence. return -1; } |