Skip to content

TheParasiteProject/packages_apps_ColumbusService

Repository files navigation

Quick Tap Service

This is an open-source implementation of the Pixel Quick Tap gesture, written from scratch for portability and customizability.

Quick Tap, codename Columbus, is a gesture powered by AP sensors and CHRE sensor on the Pixel 4a (5G) and later that is used to activate the Google Assistant on stock.

This app is a reverse-engineered Android client that runs as a standalone service and talks to the AP sensor and CHRE sensor for gesture functionality.

Features

  • Seamless integration in Settings → System → Gestures → Quick Tap with no extra changes
  • Integration with Settings search
  • Many actions to perform on gesture trigger
    • Take screenshot
    • Open assistant
    • Play or pause media
    • See recent apps
    • Open camera
    • Toggle flashlight
    • Mute calls & notifications (replicates default power + volume-up "prevent ringing" gesture)
    • Toggle power menu
    • Toggle screen
    • Launch app
  • Setting to control whether gesture is enabled when the screen is off
  • Contextually-appropriate haptic feedback with modern effects
    • Heavy click for back tap
    • Reject for unavailable action (e.g. if flashlight can't turn on because camera is in use)

Integration

Sync this repo to packages/apps/ColumbusService.

Add the following to your device tree only for devices with this feature:

# Quick Tap
PRODUCT_PACKAGES += \
    ColumbusService

While this service is designed to be as portable and self-contained as possible, Android does not provide the necessary APIs to implement all gesture actions out-of-the-box. This means that some commits must be added to frameworks/base to expose the APIs for full functionality:

Default settings can be changed by overlaying res/values/config.xml.

Acknowledgements

License

All code in this repository is licensed under the GPL-3.0 License.

Releases

No releases published

Packages

No packages published