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

Commit 39a91c87 authored by Thierry Strudel's avatar Thierry Strudel Committed by android-build-merger
Browse files

Merge "statsd: Remove repetitive logging if ODPM is not present" into qt-r1-dev

am: 618e3eab

Change-Id: Ib8d20a88ddb9bbe7a93cf0bb6a315245c9dfa9fc
parents 805d9359 618e3eab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,6 @@ bool PowerStatsPuller::PullInternal(vector<shared_ptr<LogEvent>>* data) {
    std::lock_guard<std::mutex> lock(gPowerStatsHalMutex);

    if (!getPowerStatsHalLocked()) {
        ALOGE("power.stats Hal not loaded");
        return false;
    }

@@ -116,6 +115,7 @@ bool PowerStatsPuller::PullInternal(vector<shared_ptr<LogEvent>>* data) {
        if (gRailInfo.empty()) {
            ALOGE("power.stats has no rail information");
            gPowerStatsExist = false; // No rail info, so never try again.
            gPowerStatsHal = nullptr;
            return false;
        }
    }