diff options
Diffstat (limited to 'power-libperfmgr/aidl/service.cpp')
-rw-r--r-- | power-libperfmgr/aidl/service.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/power-libperfmgr/aidl/service.cpp b/power-libperfmgr/aidl/service.cpp index c3e2dd1d..3d8d6a7c 100644 --- a/power-libperfmgr/aidl/service.cpp +++ b/power-libperfmgr/aidl/service.cpp @@ -33,13 +33,13 @@ using aidl::google::hardware::power::impl::pixel::DisplayLowPower; using aidl::google::hardware::power::impl::pixel::Power; using aidl::google::hardware::power::impl::pixel::PowerExt; -using aidl::google::hardware::power::impl::pixel::PowerHintMonitor; using aidl::google::hardware::power::impl::pixel::PowerSessionManager; using ::android::perfmgr::HintManager; constexpr std::string_view kPowerHalInitProp("vendor.powerhal.init"); int main() { + android::base::SetDefaultTag(LOG_TAG); // Parse config but do not start the looper std::shared_ptr<HintManager> hm = HintManager::GetInstance(); if (!hm) { @@ -69,10 +69,6 @@ int main() { CHECK(status == STATUS_OK); LOG(INFO) << "Pixel Power HAL AIDL Service with Extension is started."; - if (HintManager::GetInstance()->GetAdpfProfile()) { - PowerHintMonitor::getInstance()->start(); - } - std::thread initThread([&]() { ::android::base::WaitForProperty(kPowerHalInitProp.data(), "1"); HintManager::GetInstance()->Start(); |