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.
- 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)
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:
- For screenshot action: SystemUI: Allow privileged system apps to access screenshot service
- For assistant action: core: Expose method to start assistant through Binder
- For toggle recents action: core: Expose method to toggle recent apps through Binder
Default settings can be changed by overlaying res/values/config.xml.
- Active Edge Service by ProtonAOSP : Code base
- vendor_pixel-framework by PixelExperience : APSensor support for wider devices
- TapTap by Kieron Quinn : Port of the double tap on back of device feature from Android 12 to any Android 7.0+ device
All code in this repository is licensed under the GPL-3.0 License.