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
- val pngBytes = if (isMainScreenAgent()) {- ShowerController.requestScreenshot(agentId)- } else {- VirtualDisplayOverlay.getInstance(context, agentId).captureCurrentFramePng()- }+ // DisplayCapture mirrors the target display into an ImageReader, so this works for+ // both displayId=0 and Shower virtual displays, with no overlay window required.+ val pngBytes = ShowerController.requestScreenshot(agentId)
Activity
yoruuuchan commentedon Oct 22, 2026
我在按这个 issue 做修复,先在这里认领一下,避免重复劳动。
计划:
ShowerController.requestScreenshot(agentId)→DisplayCapture.captureDisplay(displayId),去掉对VirtualDisplayOverlay/PixelCopy的依赖。分支会基于
upstream/dev新建,PR 关联Fixes #1371。说明一点:我这边目前没有连接 Android 真机,所以有 overlay / 无 overlay 两种情况下的真机实测结果,我会在 PR 里准确标注哪些做了、哪些没做。