diff options
author | Mike Ma <yanmin@google.com> | 2019-11-01 02:26:09 -0700 |
---|---|---|
committer | Mike Ma <yanmin@google.com> | 2019-11-01 02:26:09 -0700 |
commit | 96884741721247a32513d1d76cdebb3a4c6ba9b0 (patch) | |
tree | 86c3c6d2a992c1b576e6a44aa94d362dd6f2effd /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | 2e63cedc0e7831b252a6891bf62cf868234a1d72 (diff) |
Downgrade error level when proc file is empty
Use Slog.w instead of Slog.wtf for a few empty cases when reading
proc files.
There have been quite a few issues around reporting error at Slog
.wtf level in the past. Although Slog.wtf should not crash itself,
it has indirectly caused a few crashes due to improper handling of
wtf errors e.g. arose from incorrectly mocking BatteryStatsImpl.
Test: Manual
Change-Id: Idce018c928a1bb0f3d4c139382d090be009c291d
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions