
androID.permission.WAKE_LOCK
我想知道这背后的原因.
如果支持GCM的应用程序没有此权限,会发生什么?
解决方法 根据Google文档,它是可选的:The androID.permission.WAKE_LOCK permission so the application can keep the processor from sleePing when a message is received. Optional—use only if the app wants to keep the device from sleePing.
资料来源:https://developer.android.com/google/gcm/client.html
总结以上是内存溢出为你收集整理的每个支持GCM的应用都应该有“android.permission.WAKE_LOCK”全部内容,希望文章能够帮你解决每个支持GCM的应用都应该有“android.permission.WAKE_LOCK”所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)