summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRoger Wang <wangroger@google.com>2019-06-10 17:53:00 +0800
committerKumar Anand <kumaranand@google.com>2019-06-12 17:49:42 +0000
commit637e95c4744b9c704d9fae772887e0b21e215adb (patch)
tree947d07a7fd540017b50feb83699a87d7f82703b5 /service
parent724f5ef108fb3f3aec0ede58b77610000f6bc0c1 (diff)
WifiDiagnostics: Keep last failed connection fates
To prevent last failed connection fates be erased after user turned wifi OFF/ON. With this patch, we could have more infomation even if issue be recovered by OFF/ON Wifi. Bug: 134569206 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I8d321c4e24475f0f42090557acaa5a4c300354f7
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiDiagnostics.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiDiagnostics.java b/service/java/com/android/server/wifi/WifiDiagnostics.java
index 52a787adb..aa34f6bed 100644
--- a/service/java/com/android/server/wifi/WifiDiagnostics.java
+++ b/service/java/com/android/server/wifi/WifiDiagnostics.java
@@ -447,7 +447,6 @@ class WifiDiagnostics extends BaseWifiDiagnostics {
}
private void clearVerboseLogs() {
- mPacketFatesForLastFailure = null;
for (int i = 0; i < mLastAlerts.size(); i++) {
mLastAlerts.get(i).clearVerboseLogs();