diff --git a/power/power-710.c b/power/power-710.c index 4632e6e..0fb3f11 100644 --- a/power/power-710.c +++ b/power/power-710.c @@ -56,7 +56,6 @@ const int kMaxLaunchDuration = 5000; /* ms */ const int kMaxInteractiveDuration = 5000; /* ms */ const int kMinInteractiveDuration = 100; /* ms */ -const int kMinFlingDuration = 1500; /* ms */ typedef enum { NORMAL_MODE = 0, @@ -253,11 +252,8 @@ static int process_interaction_hint(void* data) { s_previous_boost_timespec = cur_boost_timespec; s_previous_duration = duration; - if (duration >= kMinFlingDuration) { - perf_hint_enable_with_type(VENDOR_HINT_SCROLL_BOOST, -1, SCROLL_PREFILING); - } else { - perf_hint_enable_with_type(VENDOR_HINT_SCROLL_BOOST, duration, SCROLL_VERTICAL); - } + perf_hint_enable_with_type(VENDOR_HINT_SCROLL_BOOST, duration, SCROLL_VERTICAL); + return HINT_HANDLED; }