PerformanceManager: Fix applying power profile in low power mode

* Fixes the wrong power profile after rebooting the device, if before that low
  power mode was turned on.

Change-Id: I6008433b5e304a0f168ba9c7eeb189f4d3e83347
This commit is contained in:
BeYkeRYkt
2020-01-17 13:41:13 +09:00
committed by Han Wang
parent f355fdbfe8
commit 5cb3e512cd

View File

@@ -155,7 +155,7 @@ public class PerformanceManagerService extends LineageSystemService {
synchronized (mLock) {
mMpctlReady = true;
setPowerProfileLocked(mUserProfile, false);
applyProfileLocked();
}
});
mWaitMpctlThread.setDaemon(true);