Android M - Socket behavior when device enters Doze mode
We are developing a VOIP based application where we need to maintain a TCP connection to the server. To achieve this, we periodically send all live packets to the server. We wanted to know the behavior of the socket when the device goes into Doze mode. Whether the socket connection keeps intact or is closed when the device goes into dosage mode.
source to share