Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e08e1d13 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Gather more information about the cause of PowerStatsStore failure

Bug: 313981055
Test: N/A
Change-Id: Ie5191fec4250658e2929b5d73a794c4ac63f8e47
parent 396d3091
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ public class PowerStatsStore {
            try (InputStream inputStream = new BufferedInputStream(new FileInputStream(file))) {
                return PowerStatsSpan.read(inputStream, parser, mSectionReader, sectionTypes);
            } catch (IOException | XmlPullParserException e) {
                Slog.wtf(TAG, "Cannot read PowerStatsSpan file: " + file);
                Slog.wtf(TAG, "Cannot read PowerStatsSpan file: " + file, e);
            }
        } finally {
            unlockStoreDirectory();