Android VOIP applications behavior in Doze mode
问题 I'm working on legacy VOIP application on Android. It doesn't use Google Cloud Messaging technology right now, but just keeping its own TCP connection forever. Recently Google has introduced its Android M preview release with Doze mode So the question: is there any workaround how the app can receive incoming calls/messages in Doze mode without redesigning the whole system to use GCM? 回答1: You may use ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to ask the user permission to be ignored by