Commit Graph

4 Commits

Author SHA1 Message Date
wdvipa
410219f382 fix: 修复Bitmap并发回收闪退和缓存帧竞态问题
- lastValidBitmap/lastCaptureTime添加@Volatile确保多协程可见性
- safeRecycleLastValidBitmap()添加@Synchronized防止并发double-recycle
- 新增updateLastValidBitmap()原子替换缓存帧(synchronized)
- 新增compressCachedFrame()安全压缩缓存帧(synchronized)
- 新增safeCopyLastValidBitmap()安全复制缓存帧(synchronized)
- 替换所有直接访问lastValidBitmap的代码为synchronized方法调用
- 涉及方法: startMediaProjectionCapture/startAccessibilityScreenCapture/handleAndroid11ScreenshotFailure/captureWithMediaProjection/forceRefreshAndroid15Images
- 清理MainActivity和SocketIOManager中日志的emoji符号
2026-02-15 14:57:38 +08:00
wdvipa
fe18e7eab0 Revert "Update .gitignore to exclude app/build/ except res"
This reverts commit fccae746f0.
2026-02-14 14:44:10 +08:00
wdvipa
fccae746f0 Update .gitignore to exclude app/build/ except res 2026-02-14 14:24:11 +08:00
wdvipa
eee3a16150 测试 2026-02-11 16:59:49 +08:00