Package 

Class SentryGestureDetector


  • @ApiStatus.Internal() 
    public final class SentryGestureDetector
    
                        

    A lightweight gesture detector that replaces {@code GestureDetectorCompat}/ to avoid ANRs caused by Handler/MessageQueue lock contention and IPC calls (FrameworkStatsLog.write).

    Only detects click (tap), scroll, and fling — the gestures used by . Long-press, show-press, and double-tap detection (which require Handler message scheduling) are intentionally omitted.