diff options
| author | Robert Greenwalt <rgreenwalt@google.com> | 2014-07-07 17:34:21 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-02 18:55:10 +0000 |
| commit | 620a5466ce5f401aafa6a438383016640ec51d1a (patch) | |
| tree | 331d7476bd67c89ca37d6695cc3e025106e415e8 /core/java/android/net/ConnectivityManager.java | |
| parent | 0df9858802d80e4275326521813c580176fb24f2 (diff) | |
| parent | 17c3e0fbfcd404fb253288b386d7b39368d5852a (diff) | |
| download | frameworks_base-620a5466ce5f401aafa6a438383016640ec51d1a.zip frameworks_base-620a5466ce5f401aafa6a438383016640ec51d1a.tar.gz frameworks_base-620a5466ce5f401aafa6a438383016640ec51d1a.tar.bz2 | |
Merge "Remove unused api."
Diffstat (limited to 'core/java/android/net/ConnectivityManager.java')
| -rw-r--r-- | core/java/android/net/ConnectivityManager.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/java/android/net/ConnectivityManager.java b/core/java/android/net/ConnectivityManager.java index d5911d4..0297c84 100644 --- a/core/java/android/net/ConnectivityManager.java +++ b/core/java/android/net/ConnectivityManager.java @@ -1642,28 +1642,6 @@ public class ConnectivityManager { } /** - * Try to ensure the device stays awake until we connect with the next network. - * Actually just holds a wakelock for a number of seconds while we try to connect - * to any default networks. This will expire if the timeout passes or if we connect - * to a default after this is called. For internal use only. - * - * @param forWhom the name of the network going down for logging purposes - * @return {@code true} on success, {@code false} on failure - * - * <p>This method requires the call to hold the permission - * {@link android.Manifest.permission#CONNECTIVITY_INTERNAL}. - * {@hide} - */ - public boolean requestNetworkTransitionWakelock(String forWhom) { - try { - mService.requestNetworkTransitionWakelock(forWhom); - return true; - } catch (RemoteException e) { - return false; - } - } - - /** * Report network connectivity status. This is currently used only * to alter status bar UI. * |
