diff options
author | Roshan Pius <rpius@google.com> | 2019-06-07 11:26:12 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-06-07 11:26:12 -0700 |
commit | 92f61910b2b2615d6a062366dc365a5f3597468d (patch) | |
tree | 9327ff7647012f867d4d49ba1f8fa7dece566f47 /service | |
parent | d23921925eeb0d42497e5e4bee75b5e500d71fc0 (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
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiConfigStore.java | 2 |
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) { |