Android: 可以Android 7.0 OS 取消应用程序在休眠模式下发出的网络请求

Android: Can Android 7.0 OS cancel network requests made by the app in, in doze mode

我有一个 Android 应用程序,我在我的应用程序进行的网络调用中看到了这种特殊模式。应用程序启动时,设备会正确发送 http 请求。但一段时间后,我开始在日志中看到 lot java.io.IOException: Canceled。我没有取消订阅这些改装电话,也没有在代码中取消它们。

Android 7.0 打瞌睡模式真的可以取消网络请求吗?

提前致谢。

请给出拒绝投票的理由,以便我改进我的问题。

Is it possible, that the Android 7.0 doze off mode can actually cancel network requests?

引用 the documentation:"In Doze mode, the system attempts to conserve battery by restricting apps' access to network and CPU-intensive services. It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms. "(强调)

请注意 Android 6.0 中添加了打盹模式。