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

Commit afd6ff30 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Extreme battery saver: Remove spammy WTF.

Bug: 68769804
Test: manual test (boot and check logcat)
Change-Id: I3dc0e13a0191f3825f7f5257ae0dd2fdc52d68cc
parent 3336a352
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;