- MainActivity.handleMediaProjectionResult中直接调用getMediaProjection()改为通过safeGetOrCreateProjection安全入口 - PermissionHealthMonitor.preparePermissionRefresh中禁止重新创建MediaProjection实例,改为仅刷新权限数据时间戳 - 根因:重复调用getMediaProjection()创建新实例会导致系统自动stop旧实例,触发onStop回调形成权限掉落死循环 - 清理PermissionHealthMonitor中的emoji符号
- server_config.json: ws://改为http://,符合Socket.IO v4规范 - SocketIOManager: 新增convertToSocketIoProtocol方法,自动将ws/wss转换为http/https - connect方法: 连接前自动转换协议,config一致性检查也做协议归一化 - forceReconnect: IO.socket调用前也做协议转换 - handleServerUrlChange: URL验证扩展支持http/https/ws/wss四种协议 - 清理全文件emoji符号,替换为英文日志