commit | e965f4a5f4cf40082eaeb685f2bceaaf6a1eaeba | [log] [tgz] |
---|---|---|
author | Ruchir Rastogi <ruchirr@google.com> | Fri Jun 05 08:32:05 2020 -0700 |
committer | Ruchir Rastogi <ruchirr@google.com> | Fri Jun 05 08:38:23 2020 -0700 |
tree | e7608dd8de01b479ca6b38b13f6b35e0a6c71907 | |
parent | 9b75996d5e757dc275456839df3dc3346a592bab [diff] |
Lower error if diskstats cache file not found /data/system/diskstats_cache.json is populated once a day and may not exist right after a factory wipe. If the file does not exist, we catch the exception and print it to logcat. This CL changes the print call from a Slog.e to a Slog.w to reflect the fact that the situation is undesirable, but properly handled. Test: m Bug: 157947470 Change-Id: Ie04a2768670ec74635fc9e050a466eaad9c6a9e9