Revert "common: enable interaction boost by default"
This reverts commit 66f00d232b
.
Change-Id: If3e13a51852820b0f5c9ccdaff952a1edd760f5a
Signed-off-by: thecrazyskull <anaskarbila@aospa.co>
This commit is contained in:
parent
121c723cd9
commit
665f1b4f01
|
@ -110,6 +110,10 @@ else
|
|||
LOCAL_STATIC_LIBRARIES += $(TARGET_POWER_SET_FEATURE_LIB)
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_USES_INTERACTION_BOOST),false)
|
||||
LOCAL_CFLAGS += -DINTERACTION_BOOST
|
||||
endif
|
||||
|
||||
LOCAL_MODULE := power.$(TARGET_BOARD_PLATFORM)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
|
@ -198,12 +198,13 @@ int get_scaling_governor_check_cores(char governor[], int size,int core_num)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int interaction(int duration, int num_args, int opt_list[])
|
||||
void interaction(int duration, int num_args, int opt_list[])
|
||||
{
|
||||
int lock_handle = 0;
|
||||
#ifdef INTERACTION_BOOST
|
||||
static int lock_handle = 0;
|
||||
|
||||
if (duration < 0 || num_args < 1 || opt_list[0] == NULL)
|
||||
return 0;
|
||||
return;
|
||||
|
||||
if (qcopt_handle) {
|
||||
if (perf_lock_acq) {
|
||||
|
@ -212,13 +213,12 @@ int interaction(int duration, int num_args, int opt_list[])
|
|||
ALOGE("Failed to acquire lock.");
|
||||
}
|
||||
}
|
||||
return lock_handle;
|
||||
}
|
||||
|
||||
int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[])
|
||||
void interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[])
|
||||
{
|
||||
if (duration < 0 || num_args < 1 || opt_list[0] == NULL)
|
||||
return 0;
|
||||
return;
|
||||
|
||||
if (qcopt_handle) {
|
||||
if (perf_lock_acq) {
|
||||
|
@ -227,7 +227,7 @@ int interaction_with_handle(int lock_handle, int duration, int num_args, int opt
|
|||
ALOGE("Failed to acquire lock.");
|
||||
}
|
||||
}
|
||||
return lock_handle;
|
||||
#endif
|
||||
}
|
||||
|
||||
void perform_hint_action(int hint_id, int resource_values[], int num_resources)
|
||||
|
|
Loading…
Reference in New Issue