Release from App standby(Android M)

If app is in standby state, network access is unavailable.
The system will release app from the standby state if it shows a toast.
所以当你处于standby,又想使用网络的情况,简单的先show一个toast。

猜你喜欢

转载自enuocm.iteye.com/blog/2309778
今日推荐