OSDN Git Service

Reset connections AFTER we take down the network.
authorRobert Greenwalt <rgreenwalt@google.com>
Wed, 15 Jun 2011 19:22:07 +0000 (12:22 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Thu, 16 Jun 2011 18:26:54 +0000 (11:26 -0700)
commitec896c6a863b3cc0a55538a19879e2112b5b8658
treef13477e726080b2bf768ff7022803371021a59ff
parenteb5e633a2488456874f829263fa6cb96588d25aa
Reset connections AFTER we take down the network.

If you do it before you have a race condition and some apps will
manage to reconnect on the dieing network before it goes and then
get no notification when it goes.

bug: 3408025
Change-Id: I5386ff313c759b3f687bc38731454ab43dbe76b8
core/java/android/net/MobileDataStateTracker.java
services/java/com/android/server/ConnectivityService.java
wifi/java/android/net/wifi/WifiStateMachine.java