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

Commit 6f0f38fa authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Initialize uninitialized member in BatteryService" into udc-dev am: fe46a177

parents 690d9203 fe46a177
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -30,8 +30,8 @@
namespace android {
namespace android {
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------


BatteryService::BatteryService() : mBatteryStatService(nullptr) {
BatteryService::BatteryService()
}
    : mBatteryStatService(nullptr), mLastWakeupSensorEventReportedMs(0) {}


bool BatteryService::addSensor(uid_t uid, int handle) {
bool BatteryService::addSensor(uid_t uid, int handle) {
    Mutex::Autolock _l(mActivationsLock);
    Mutex::Autolock _l(mActivationsLock);