mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 10:58:23 +00:00
Quartz 1.14.0 made WebSocketListener.onMessage and RelayConnectionListener.onIncomingMessage suspend functions, which broke compilation. Bridge the suspend boundary in OkHttpWebSocket the same way Amethyst and Quartz's own BasicOkHttpWebSocket do: pump incoming frames through an unbounded Channel consumed by a Dispatchers.IO coroutine, reusing BasicOkHttpWebSocket's exceptionHandler. Kept Amber's needsReconnect() proxy/timeout diffing that the Quartz builtin lacks. Mark all onIncomingMessage overrides suspend and wrap direct test invocations in runBlocking. Also bumps AGP to 9.3.2.