From 66f00d232bc9812064f6bc673251f5a28a69471c Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Tue, 3 Nov 2015 22:46:41 +0000 Subject: [PATCH] common: enable interaction boost by default Change-Id: I1f5570ee9be9551628a01da94256b6ddb8be6a99 --- power/Android.mk | 4 ---- power/utils.c | 2 -- 2 files changed, 6 deletions(-) diff --git a/power/Android.mk b/power/Android.mk index 5bb0cd7e..867e54cc 100644 --- a/power/Android.mk +++ b/power/Android.mk @@ -47,10 +47,6 @@ ifeq ($(call is-board-platform-in-list, msm8992), true) LOCAL_SRC_FILES += power-8992.c endif -ifeq ($(TARGET_USES_INTERACTION_BOOST),true) - LOCAL_CFLAGS += -DINTERACTION_BOOST -endif - LOCAL_MODULE := power.$(TARGET_BOARD_PLATFORM) LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY) diff --git a/power/utils.c b/power/utils.c index 00e0ba8b..6b20847c 100644 --- a/power/utils.c +++ b/power/utils.c @@ -198,7 +198,6 @@ int get_scaling_governor_check_cores(char governor[], int size,int core_num) void interaction(int duration, int num_args, int opt_list[]) { -#ifdef INTERACTION_BOOST static int lock_handle = 0; if (duration < 0 || num_args < 1 || opt_list[0] == NULL) @@ -211,7 +210,6 @@ void interaction(int duration, int num_args, int opt_list[]) ALOGE("Failed to acquire lock."); } } -#endif } void perform_hint_action(int hint_id, int resource_values[], int num_resources)