projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb34cb
)
power-libperfmgr: Fix dt2w after boot
author
Andreas Schneider
<asn@cryptomilk.org>
Tue, 7 Jul 2020 06:10:35 +0000
(08:10 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 7 Jul 2020 06:31:55 +0000
(08:31 +0200)
Change-Id: Ia6172d2f1a54900b8859eef55f07d37a6eab8487
hidl/power-libperfmgr/Power.cpp
patch
|
blob
|
blame
|
history
diff --git
a/hidl/power-libperfmgr/Power.cpp
b/hidl/power-libperfmgr/Power.cpp
index 08c0a7480eef0fd8ccf2799909c971fc6af912cf..b26c74b187f71167ac2883d44e6cf87a7d807a13 100644
(file)
--- a/
hidl/power-libperfmgr/Power.cpp
+++ b/
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);