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

Commit 34619fb7 authored by Hui Yu's avatar Hui Yu
Browse files

Remove unnecessary log.e messages.

The code already returns null for mark the error condition,
not log.e is necessary.

Bug: 129260656
Test: NA
Change-Id: I39154e0f9f8b7dc1011e4dabc6b4d63b3471f40a
parent ce826bba
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -550,7 +550,6 @@ class BatteryExternalStatsWorker implements BatteryStatsImpl.ExternalStatsSync {
                    return data;
                }
            }
            Slog.e(TAG, "no controller energy info supplied for " + receiver.getName());
        } catch (TimeoutException e) {
            Slog.w(TAG, "timeout reading " + receiver.getName() + " stats");
        }
+0 −1
Original line number Diff line number Diff line
@@ -873,7 +873,6 @@ public class StatsPullAtomService extends SystemService {
                    return data;
                }
            }
            Slog.e(TAG, "no controller energy info supplied for " + receiver.getName());
        } catch (TimeoutException e) {
            Slog.w(TAG, "timeout reading " + receiver.getName() + " stats");
        }