Skip to content

Commit 5d0fafe

Browse files
Robert GreenwaltAndroid (Google) Code Review
authored andcommitted
Merge "Be sure and report NO_CONNECTIVITY when needed." into gingerbread
2 parents 5261cea + d68e321 commit 5d0fafe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

services/java/com/android/server/ConnectivityService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ private void handleDisconnect(NetworkInfo info) {
997997
// a positive report we don't want to overwrite, but if not we need to clear this now
998998
// to turn our cellular sig strength white
999999
mDefaultInetConditionPublished = 0;
1000+
intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, true);
10001001
}
10011002
intent.putExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO, switchTo);
10021003
} else {

0 commit comments

Comments
 (0)