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

Commit cc116a6d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Don't resume PowerStatsDataStorage read on Exception" into sc-dev am:...

Merge "Don't resume PowerStatsDataStorage read on Exception" into sc-dev am: b1c1ae95 am: ed4eb3c1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388825

Change-Id: Iec10b0ba3c704bc6a7527d75771627efe6b024f1
parents 895570a4 ed4eb3c1
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -124,12 +124,8 @@ public class PowerStatsDataStorage {
        @Override
        public void read(InputStream in) throws IOException {
            while (in.available() > 0) {
                try {
                DataElement dataElement = new DataElement(in);
                mCallback.onReadDataElement(dataElement.getData());
                } catch (IOException e) {
                    Slog.e(TAG, "Failed to read from storage. " + e.getMessage());
                }
            }
        }
    }