diff options
author | David Su <dysu@google.com> | 2020-01-31 21:05:43 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-01-31 21:05:43 +0000 |
commit | fb306f431fa43f226ae0eb9778a9100a55d64a26 (patch) | |
tree | 8e38b3ccac4fd1573645741f3c11e8a950548342 /libs | |
parent | c9a006e384eb89336edfdf9d31eb03fea09f6a59 (diff) | |
parent | 92b5ba007936777efff116d167c09ce8a7eabc06 (diff) |
Merge "Migrate RecentFailure to getRecentFailureReason"
Diffstat (limited to 'libs')
-rw-r--r-- | libs/WifiTrackerLib/src/com/android/wifitrackerlib/StandardWifiEntry.java | 4 |
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); } } |