Skip to content

Develop - Circle to search#348

Merged
sameerasw merged 2 commits intomainfrom
develop
Apr 17, 2026
Merged

Develop - Circle to search#348
sameerasw merged 2 commits intomainfrom
develop

Conversation

@sameerasw
Copy link
Copy Markdown
Owner

This pull request introduces a new "Circle to Search" gesture feature, allowing users to trigger the Google "Circle to Search" action via a long-press gesture overlay or as a remappable button action. The implementation includes UI options, persistent settings, gesture handling, and system integration.

Feature: Circle to Search Gesture

  • Added a persistent setting key circle_to_search_gesture_enabled to SettingsRepository to store user preference for enabling the gesture.
  • Introduced UI toggle in OtherCustomizationsSettingsUI for enabling/disabling the "Circle to Search" gesture, which is only active if the gesture bar is hidden.
  • Updated MainViewModel to manage the state of the new gesture setting and keep it in sync with preferences. [1] [2] [3]

Gesture Overlay Implementation

  • Added OmniGestureOverlayHandler, a new class that displays an overlay for the gesture, handles long-press detection, and provides haptic feedback. The overlay is shown/hidden based on the relevant settings and device state.
  • Integrated the overlay handler into ScreenOffAccessibilityService, including lifecycle management, configuration change handling, and reacting to preference changes. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Remappable Action Support

  • Added "Circle to Search" as a remappable action in the button remap UI, and updated ButtonRemapHandler to support triggering the gesture (with haptic feedback) when this action is selected. [1] [2]

System Integration Utility

  • Implemented OmniTriggerUtil, a utility for triggering the Google "Circle to Search" session using reflection and Shizuku, handling both root and non-root scenarios.

@sameerasw sameerasw self-assigned this Apr 17, 2026
@sameerasw sameerasw added the enhancement New feature or request label Apr 17, 2026
@sameerasw sameerasw merged commit 2710ef4 into main Apr 17, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in Essentials Progress Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant