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

Commit 9c829527 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Extreme battery saver: Remove spammy WTF."

parents 3f9b7654 afd6ff30
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -54,6 +54,10 @@ public class CpuFrequencies {
            mCoreAndFrequencies.clear();
            try {
                for (String pair : cpuNumberAndFrequencies.split("/")) {
                    pair = pair.trim();
                    if (pair.length() == 0) {
                        continue;
                    }
                    final String[] coreAndFreq = pair.split(":", 2);

                    if (coreAndFreq.length != 2) {
@@ -65,7 +69,7 @@ public class CpuFrequencies {
                    mCoreAndFrequencies.put(core, freq);
                }
            } catch (IllegalArgumentException e) {
                Slog.wtf(TAG, "Invalid configuration: " + cpuNumberAndFrequencies, e);
                Slog.wtf(TAG, "Invalid configuration: '" + cpuNumberAndFrequencies + "'");
            }
        }
        return this;