diff options
author | Paul Stewart <pstew@google.com> | 2016-10-28 13:01:28 -0700 |
---|---|---|
committer | Paul Stewart <pstew@google.com> | 2016-11-03 16:30:48 -0700 |
commit | 52f0452bbc9e7088a6eee0aea244b3415f9a650e (patch) | |
tree | 0b1c739f4ab50f30f30bb90ca3012630a78009d7 | |
parent | d22557025e4c2278a55be8b9993befc4134beb93 (diff) |
WifiNotificationController: Explicitly ignore cases
Explicitly ignore all known cases for NetworkInfo.DetailedState
so build tools can alert us when new cases are added that we have
not yet considered here.
Bug: 32490639
Change-Id: I8091a93073ea8f85878471ebb5c01792f0f1e4f0
Test: Compile only -- trivial change
-rw-r--r-- | service/java/com/android/server/wifi/WifiNotificationController.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiNotificationController.java b/service/java/com/android/server/wifi/WifiNotificationController.java index 5e83bdb71..8d8847105 100644 --- a/service/java/com/android/server/wifi/WifiNotificationController.java +++ b/service/java/com/android/server/wifi/WifiNotificationController.java @@ -137,6 +137,17 @@ final class WifiNotificationController { case CAPTIVE_PORTAL_CHECK: resetNotification(); break; + + case IDLE: + case SCANNING: + case CONNECTING: + case AUTHENTICATING: + case OBTAINING_IPADDR: + case SUSPENDED: + case FAILED: + case BLOCKED: + case VERIFYING_POOR_LINK: + break; } } } else if (intent.getAction().equals( |