diff options
author | Robert Greenwalt <robdroid@android.com> | 2010-06-15 12:19:37 -0700 |
---|---|---|
committer | Robert Greenwalt <robdroid@android.com> | 2010-06-16 11:04:37 -0700 |
commit | 14f2ef4c9da27a3d58d65dc9f684c5f764ee279a (patch) | |
tree | bef6430bbf98a5734add49dead51039c2489917c /wifi/java/android/net | |
parent | ce718947db0d305a8cf015c29e68907d42e1b6cd (diff) | |
download | frameworks_base-14f2ef4c9da27a3d58d65dc9f684c5f764ee279a.zip frameworks_base-14f2ef4c9da27a3d58d65dc9f684c5f764ee279a.tar.gz frameworks_base-14f2ef4c9da27a3d58d65dc9f684c5f764ee279a.tar.bz2 |
Move the net transition wakelock to ConnService.
When the default network goes down we lose the wake-on-incoming-data capability
until the new net is brought up and apps rebuild their connections. We fixed this
in Wifi, but it's a general connectivity issue, not a wifi issue so moving the
mechanism to connecitivty so other networks can use it.
bug:2734419
Change-Id: I39b5d825eb6b548bd9bb8f179b89254f4db53147
Diffstat (limited to 'wifi/java/android/net')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateTracker.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateTracker.java b/wifi/java/android/net/wifi/WifiStateTracker.java index 73cba93..2bd5640 100644 --- a/wifi/java/android/net/wifi/WifiStateTracker.java +++ b/wifi/java/android/net/wifi/WifiStateTracker.java @@ -764,21 +764,6 @@ public class WifiStateTracker extends Handler implements NetworkStateTracker { } /** - * We release the wakelock in WifiService - * using a timer. - * - * TODO: - * Releasing wakelock using both timer and - * a call from ConnectivityService requires - * a rethink. We had problems where WifiService - * could keep a wakelock forever if we delete - * messages in the asynchronous call - * from ConnectivityService - */ - public void releaseWakeLock() { - } - - /** * Tracks the WPA supplicant states to detect "loop" situations. * @param newSupplicantState The new WPA supplicant state. * @return {@code true} if the supplicant loop should be stopped |