Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ed8ca7a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Setting power policy flag to true for Android T in Audio HAL"

parents b186e5e0 6276497b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ AUDIO_FEATURE_ENABLED_SILENT_BOOT := true
endif
AUDIO_FEATURE_ENABLED_FM_TUNER_EXT := true
AUDIO_FEATURE_ENABLED_ICC := true
ifneq ( ,$(filter S 12, $(PLATFORM_VERSION)))
ifneq ( ,$(filter S 12 T 13, $(PLATFORM_VERSION)))
AUDIO_FEATURE_ENABLED_POWER_POLICY := true
endif
ifneq ( ,$(filter msmnile_gvmq msmnile_au, $(TARGET_BOARD_PLATFORM)$(TARGET_BOARD_SUFFIX)))
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ extern "C" {

    int launchPowerPolicyClient(power_policy_init_config_t init_config) {
        ALOGD("%s: power policy launcher called", __func__);
        ABinderProcess_setThreadPoolMaxThreadCount(0);
        ABinderProcess_setThreadPoolMaxThreadCount(1);
        std::shared_ptr<PowerPolicyClient> powerPolicyClient =
                ::ndk::SharedRefBase::make<PowerPolicyClient>(init_config);
        ALOGD("%s:Instantiating power policy client from launcher", __func__);