From 92f61910b2b2615d6a062366dc365a5f3597468d Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Fri, 7 Jun 2019 11:26:12 -0700 Subject: 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 --- service/java/com/android/server/wifi/WifiConfigStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service') 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) { -- cgit v1.2.3