diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2010-12-21 11:43:28 -0800 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2010-12-21 11:43:28 -0800 |
commit | d68e321841b53263d97dcc7e1682e8f0c7877e62 (patch) | |
tree | 97f76e1a20480e67a97c9d11e65e71952d8aa9a8 /services | |
parent | 12b82c8da7bc477e591b12d8b7e469a9ba6dd574 (diff) | |
download | frameworks_base-d68e321841b53263d97dcc7e1682e8f0c7877e62.zip frameworks_base-d68e321841b53263d97dcc7e1682e8f0c7877e62.tar.gz frameworks_base-d68e321841b53263d97dcc7e1682e8f0c7877e62.tar.bz2 |
Be sure and report NO_CONNECTIVITY when needed.
Reports that we sometimes didn't report NO_CONNECTIVITY led to this suggested change.
Could not repro the problem, but the change looks ok anyway. Better safe than sorry.
bug:3276408
Change-Id: I0cdb48a05a5c9dfcf3a0b468a6eae43d461023b1
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/ConnectivityService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java index a663c3a..bc102e4 100644 --- a/services/java/com/android/server/ConnectivityService.java +++ b/services/java/com/android/server/ConnectivityService.java @@ -997,6 +997,7 @@ public class ConnectivityService extends IConnectivityManager.Stub { // a positive report we don't want to overwrite, but if not we need to clear this now // to turn our cellular sig strength white mDefaultInetConditionPublished = 0; + intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, true); } intent.putExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO, switchTo); } else { |