common: enable interaction boost by default
Change-Id: I1f5570ee9be9551628a01da94256b6ddb8be6a99
This commit is contained in:
parent
a31e0e46c8
commit
66f00d232b
|
@ -47,10 +47,6 @@ ifeq ($(call is-board-platform-in-list, msm8992), true)
|
||||||
LOCAL_SRC_FILES += power-8992.c
|
LOCAL_SRC_FILES += power-8992.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
|
|
||||||
LOCAL_CFLAGS += -DINTERACTION_BOOST
|
|
||||||
endif
|
|
||||||
|
|
||||||
LOCAL_MODULE := power.$(TARGET_BOARD_PLATFORM)
|
LOCAL_MODULE := power.$(TARGET_BOARD_PLATFORM)
|
||||||
LOCAL_MODULE_TAGS := optional
|
LOCAL_MODULE_TAGS := optional
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
|
@ -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[])
|
void interaction(int duration, int num_args, int opt_list[])
|
||||||
{
|
{
|
||||||
#ifdef INTERACTION_BOOST
|
|
||||||
static int lock_handle = 0;
|
static int lock_handle = 0;
|
||||||
|
|
||||||
if (duration < 0 || num_args < 1 || opt_list[0] == NULL)
|
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.");
|
ALOGE("Failed to acquire lock.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void perform_hint_action(int hint_id, int resource_values[], int num_resources)
|
void perform_hint_action(int hint_id, int resource_values[], int num_resources)
|
||||||
|
|
Loading…
Reference in New Issue