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:
Wei Wang 2024-07-18 12:56:42 +05:30 committed by Anand S
commit 7b56c41f2d
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
6 changed files with 20 additions and 20 deletions

View file

@ -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: