Loading services/surfaceflinger/Scheduler/Scheduler.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -92,12 +92,12 @@ void Scheduler::startTimers() { using namespace sysprop; using namespace std::string_literals; const int32_t defaultTouchTouchTimerValue = const int32_t defaultTouchTimerValue = FlagManager::getInstance().enable_fro_dependent_features() && sysprop::enable_frame_rate_override(true) ? 200 : 0; if (const int32_t millis = set_touch_timer_ms(defaultTouchTouchTimerValue); millis > 0) { if (const int32_t millis = set_touch_timer_ms(defaultTouchTimerValue); millis > 0) { // Touch events are coming to SF every 100ms, so the timer needs to be higher than that mTouchTimer.emplace( "TouchTimer", std::chrono::milliseconds(millis), Loading Loading
services/surfaceflinger/Scheduler/Scheduler.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -92,12 +92,12 @@ void Scheduler::startTimers() { using namespace sysprop; using namespace std::string_literals; const int32_t defaultTouchTouchTimerValue = const int32_t defaultTouchTimerValue = FlagManager::getInstance().enable_fro_dependent_features() && sysprop::enable_frame_rate_override(true) ? 200 : 0; if (const int32_t millis = set_touch_timer_ms(defaultTouchTouchTimerValue); millis > 0) { if (const int32_t millis = set_touch_timer_ms(defaultTouchTimerValue); millis > 0) { // Touch events are coming to SF every 100ms, so the timer needs to be higher than that mTouchTimer.emplace( "TouchTimer", std::chrono::milliseconds(millis), Loading