You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Android PowerUser
committed
fix: correctly suppress screenshot capture/toast/MediaProjection for text-only models across all code paths
- Revert broken Android.triggerNextTurnWithoutScreenshot() call in index.html
(method never existed natively); WebView now always calls
Bridge.requestScreenshot() as before, since the native side is the
correct place to decide whether a real screenshot is needed.
- ScreenOperatorAccessibilityService.executeTakeScreenshotCommand now
correctly resolves screenshot support for all three model categories:
custom JSON-defined models, JS-only online models (WebView dropdown,
via js_model_prefs SharedPreferences), and native built-in/offline
models - not just the two that were previously handled.
- Extracted currentModelSupportsScreenshot() as the single source of
truth, used by:
- the immediate capture/MediaProjection-request decision
- the delayed-screenshot toast (previously unconditionally said
'before screenshot' even for text-only models)
- Command.Wait's toast (previously unconditionally said 'Delaying
next screenshot' even for text-only models)
- Removed the misleading 'Capturing screen info...' toast for
text-only models entirely (no screenshot is taken or sent, so no
toast should suggest otherwise).
0 commit comments