summaryrefslogtreecommitdiffstats
path: root/wifi/java
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2010-04-18 23:04:13 -0700
committerIrfan Sheriff <isheriff@google.com>2010-04-18 23:07:01 -0700
commit2d1a6e9429ea5cec8aa45e0508f97ab4573c9f09 (patch)
tree3d67c177db72dcb4b1171737ff4fbcd5abf30d94 /wifi/java
parent975d86dfc6407314491a18bc715c8c95a8f8f0b1 (diff)
downloadframeworks_base-2d1a6e9429ea5cec8aa45e0508f97ab4573c9f09.zip
frameworks_base-2d1a6e9429ea5cec8aa45e0508f97ab4573c9f09.tar.gz
frameworks_base-2d1a6e9429ea5cec8aa45e0508f97ab4573c9f09.tar.bz2
Reset notification state on wifi enable
Bug: 2600111 Change-Id: Ifaa63cd7c05dfa27fbd851de6f7e92f7fc38907b
Diffstat (limited to 'wifi/java')
-rw-r--r--wifi/java/android/net/wifi/WifiStateTracker.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateTracker.java b/wifi/java/android/net/wifi/WifiStateTracker.java
index 4f84aab..978d821 100644
--- a/wifi/java/android/net/wifi/WifiStateTracker.java
+++ b/wifi/java/android/net/wifi/WifiStateTracker.java
@@ -735,6 +735,8 @@ public class WifiStateTracker extends NetworkStateTracker {
mRunState = RUN_STATE_RUNNING;
noteRunState();
checkUseStaticIp();
+ /* Reset notification state on new connection */
+ resetNotificationTimer();
/*
* DHCP requests are blocking, so run them in a separate thread.
*/