sm6375-common: power-libperfmgr: Fix objects that are derived from refbase
Fixes: ag/14313466 Bug: 177493042 Bug: 191163855 Test: Build Change-Id: I94812997a8214b77a2e1d0bcf90ef62205c5adf6 Signed-off-by: Wei Wang <wvw@google.com>
This commit is contained in:
parent
4f6e93f30a
commit
7b56c41f2d
6 changed files with 20 additions and 20 deletions
|
|
@ -87,7 +87,7 @@ Power::Power(std::shared_ptr<HintManager> hm)
|
|||
ndk::ScopedAStatus Power::setMode(Mode type, bool enabled) {
|
||||
LOG(DEBUG) << "Power setMode: " << toString(type) << " to: " << enabled;
|
||||
ATRACE_INT(toString(type).c_str(), enabled);
|
||||
PowerSessionManager::getInstance().updateHintMode(toString(type), enabled);
|
||||
PowerSessionManager::getInstance()->updateHintMode(toString(type), enabled);
|
||||
switch (type) {
|
||||
#ifdef TAP_TO_WAKE_NODE
|
||||
case Mode::DOUBLE_TAP_TO_WAKE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue