Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 338b4737 authored by Shane's avatar Shane Committed by Jian-Syuan (Shane) Wong
Browse files

Increase toolkit touch boost timeout period

Increase toolkit touch boost timeout period from 1500 milliseconds to
3000 milliseconds.

Bug: 309687706
Test: atest ViewRootImplTest
Change-Id: I35f54bdbf49e3aac2baff2ccf86790f093ae4a61
parent c4b42504
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -993,7 +993,7 @@ public final class ViewRootImpl implements ViewParent,
    // for idleness handling.
    private boolean mHasIdledMessage = false;
    // time for touch boost period.
    private static final int FRAME_RATE_TOUCH_BOOST_TIME = 1500;
    private static final int FRAME_RATE_TOUCH_BOOST_TIME = 3000;
    // time for checking idle status periodically.
    private static final int FRAME_RATE_IDLENESS_CHECK_TIME_MILLIS = 500;
    // time for revaluating the idle status before lowering the frame rate.