How 33795ggr/micts-killer works
Google Lens Shortcut is an Android utility that captures the current screen and hands the image to Google Lens. Its documented primary workflow is granting screen-capture permission once, adding a Quick Settings tile, then tapping it to capture and search; users can adjust capture delay. The excerpts show two tile services and a separate floating-button route, plus permission setup and boot-time startup support. Unsampled LensLauncher, UI, and lifecycle details are represented only where documented or evidenced by the source index.
Main entry points: ScreenshotService.kt Capture service · MainActivity.kt Setup and delay · MediaProjectionHolder.kt Projection state · GoogleLensTileService.kt Lens tile
Components 13
User entry points
- Lens tile
app/src/main/java/com/lensshortcut/vivo/GoogleLensTileService.kt - Search tile
app/src/main/java/com/lensshortcut/vivo/SearchTileService.kt - Floating shortcut
app/src/main/java/com/lensshortcut/vivo/FloatingButtonService.kt
Screen capture
- Projection state
app/src/main/java/com/lensshortcut/vivo/MediaProjectionHolder.kt - Capture service
app/src/main/java/com/lensshortcut/vivo/ScreenshotService.kt
Setup and lifecycle
- Setup and delay
app/src/main/java/com/lensshortcut/vivo/MainActivity.kt - Permission checks
app/src/main/java/com/lensshortcut/vivo/PermissionManager.kt - Boot restart
app/src/main/java/com/lensshortcut/vivo/BootReceiver.kt - App initialization
app/src/main/java/com/lensshortcut/vivo/MainApplication.kt
Lens handoff
- Google Lens
- Lens launch helper
app/src/main/java/com/lensshortcut/vivo/LensLauncher.kt
Other components
- Phone user
- Android settings
Connections 20
- Phone user → Lens tile: taps tile
README.md - Lens tile → Capture service: requests capture
app/src/main/java/com/lensshortcut/vivo/GoogleLensTileService.kt - Phone user → Search tile: taps tile
README.md - Search tile → Capture service: requests capture
app/src/main/java/com/lensshortcut/vivo/SearchTileService.kt - Phone user → Floating shortcut: taps shortcut
app/src/main/java/com/lensshortcut/vivo/FloatingButtonService.kt - Setup and delay → Capture service: starts capture
app/src/main/java/com/lensshortcut/vivo/MainActivity.kt - Capture service → Projection state: stores projection
app/src/main/java/com/lensshortcut/vivo/ScreenshotService.kt - Lens tile → Projection state: checks projection
app/src/main/java/com/lensshortcut/vivo/GoogleLensTileService.kt - Search tile → Projection state: checks projection
app/src/main/java/com/lensshortcut/vivo/SearchTileService.kt - Setup and delay → Projection state: checks status
app/src/main/java/com/lensshortcut/vivo/MainActivity.kt - Capture service → Google Lens: shares screenshot
app/src/main/java/com/lensshortcut/vivo/ScreenshotService.kt - Floating shortcut → Google Lens: opens Lens
app/src/main/java/com/lensshortcut/vivo/FloatingButtonService.kt - Phone user → Setup and delay: grants capture
README.md - Phone user → Android settings: sets permissions
README.md - Android settings → Permission checks: permission state
- Boot restart → Permission checks: checks overlay
app/src/main/java/com/lensshortcut/vivo/BootReceiver.kt - Boot restart → Floating shortcut: starts service
app/src/main/java/com/lensshortcut/vivo/BootReceiver.kt - App initialization → Capture service: configures channel
app/src/main/java/com/lensshortcut/vivo/ScreenshotService.kt - Setup and delay → Android settings: configures delay
README.md - Lens launch helper → Google Lens: launches app