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 20:16:00 +05:30 committed by Anand S
commit 7bfee27a4b
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
6 changed files with 20 additions and 20 deletions

View file

@ -69,8 +69,8 @@ int main() {
LOG(INFO) << "Power HAL AIDL Service for moto_sm6375 is started.";
if (::android::base::GetIntProperty("vendor.powerhal.adpf.rate", -1) != -1) {
PowerHintMonitor::getInstance().start();
PowerSessionManager::getInstance().setHintManager(hm);
PowerHintMonitor::getInstance()->start();
PowerSessionManager::getInstance()->setHintManager(hm);
}
std::thread initThread([&]() {