power-libperfmgr: Fix dt2w after boot

Change-Id: Ia6172d2f1a54900b8859eef55f07d37a6eab8487
tirimbino
Andreas Schneider 5 years ago
parent 9bb34cb0ae
commit f53128d8d8
  1. 2
      hidl/power-libperfmgr/Power.cpp

@ -58,6 +58,7 @@ Power::Power()
mSustainedPerfModeOn(false),
mCameraStreamingMode(false),
mReady(false),
mDoubleTapEnabled(false),
mNumPerfProfiles(0),
mCurrentPerfProfile(PowerProfile::BALANCED) {
mInitThread = std::thread([this]() {
@ -120,7 +121,6 @@ Power::Power()
setProfile(PowerProfile::HIGH_PERFORMANCE);
mCurrentPerfProfile = PowerProfile::HIGH_PERFORMANCE;
}
mDoubleTapEnabled = false;
// Now start to take powerhint
mReady.store(true);

Loading…
Cancel
Save