转自
https://blog.dreamtobe.cn/2016/08/16/android_weak_network/
I. 微信心跳机制
其中的有考虑到如何让手机更省电,因此有与Android的alarm对齐唤醒的处理(可以参见已经开源的mars的
smart_heartbeat.cc
)
转自
https://blog.dreamtobe.cn/2016/08/16/android_weak_network/
其中的有考虑到如何让手机更省电,因此有与Android的alarm对齐唤醒的处理(可以参见已经开源的mars的
smart_heartbeat.cc
)