summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDavid Su <dysu@google.com>2020-01-31 21:05:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-01-31 21:05:43 +0000
commitfb306f431fa43f226ae0eb9778a9100a55d64a26 (patch)
tree8e38b3ccac4fd1573645741f3c11e8a950548342 /libs
parentc9a006e384eb89336edfdf9d31eb03fea09f6a59 (diff)
parent92b5ba007936777efff116d167c09ce8a7eabc06 (diff)
Merge "Migrate RecentFailure to getRecentFailureReason"
Diffstat (limited to 'libs')
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
index 44204cd25..506d28cfe 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java
@@ -302,8 +302,8 @@ class StandardWifiEntry extends WifiEntry {
} else if (getLevel() == WIFI_LEVEL_UNREACHABLE) {
// Do nothing because users know it by signal icon.
} else { // In range, not disabled.
- if (mWifiConfig != null && mWifiConfig.recentFailure.getAssociationStatus()
- == WifiConfiguration.RecentFailure.STATUS_AP_UNABLE_TO_HANDLE_NEW_STA) {
+ if (mWifiConfig != null && mWifiConfig.getRecentFailureReason()
+ == WifiConfiguration.RECENT_FAILURE_AP_UNABLE_TO_HANDLE_NEW_STA) {
return mContext.getString(R.string.wifi_ap_unable_to_handle_new_sta);
}
}