summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-06-07 11:26:12 -0700
committerRoshan Pius <rpius@google.com>2019-06-07 11:26:12 -0700
commit92f61910b2b2615d6a062366dc365a5f3597468d (patch)
tree9327ff7647012f867d4d49ba1f8fa7dece566f47
parentd23921925eeb0d42497e5e4bee75b5e500d71fc0 (diff)
WifiConfigStore: Add wtf for any data integrity failure
Add WTF for any genuine data integrity failures. This will help better track such occurences on production devices. Bug: 132118608 Test: None Change-Id: Ic5e2fa1cad494c508047adf4a1f4175ddb17d6e1
-rw-r--r--service/java/com/android/server/wifi/WifiConfigStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiConfigStore.java b/service/java/com/android/server/wifi/WifiConfigStore.java
index c7e75a5c4..a618eb5b5 100644
--- a/service/java/com/android/server/wifi/WifiConfigStore.java
+++ b/service/java/com/android/server/wifi/WifiConfigStore.java
@@ -693,7 +693,7 @@ public class WifiConfigStore {
bytes = mAtomicFile.readFully();
// Check that the file has not been altered since last writeBufferedRawData()
if (!mDataIntegrityChecker.isOk(bytes)) {
- Log.e(TAG, "Data integrity problem with file: " + mFileName);
+ Log.wtf(TAG, "Data integrity problem with file: " + mFileName);
return null;
}
} catch (FileNotFoundException e) {