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

Commit 100e8d1b authored by Ruchir Rastogi's avatar Ruchir Rastogi Committed by Automerger Merge Worker
Browse files

Merge "Inject DeviceIdle atom before boot completes" into rvc-dev am: e9e4428d

Change-Id: I9c9dfc4b69b6a9ecf4337a5d9eb7413318d7a385
parents 0eb605b5 e9e4428d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1288,7 +1288,6 @@ Status StatsService::getRegisteredExperimentIds(std::vector<int64_t>* experiment
    return Status::ok();
}


void StatsService::statsCompanionServiceDied(void* cookie) {
    auto thiz = static_cast<StatsService*>(cookie);
    thiz->statsCompanionServiceDiedImpl();
+4 −0
Original line number Diff line number Diff line
@@ -9875,6 +9875,10 @@ public class BatteryStatsImpl extends BatteryStats {
        mPlatformIdleStateCallback = cb;
        mRailEnergyDataCallback = railStatsCb;
        mUserInfoProvider = userInfoProvider;
        // Notify statsd that the system is initially not in doze.
        mDeviceIdleMode = DEVICE_IDLE_MODE_OFF;
        FrameworkStatsLog.write(FrameworkStatsLog.DEVICE_IDLE_MODE_STATE_CHANGED, mDeviceIdleMode);
    }
    @UnsupportedAppUsage