在转换应用程序为Android Oreo做好准备时,我JobIntentService 在这里阅读了文档.
JobIntentService
在那里我发现(重要部分强调):
当作为pre-O服务运行时,正常的服务执行语义适用:[...]作为Job运行时,将应用典型的JobService执行时间限制,之后作业将被停止(干净地,不是通过查杀过程)并重新安排以后继续执行.
如果我查看记录的限制,就没有关于任何执行时间限制的说法.同时JobScheduler也没有提及任何东西.
JobScheduler
service android android-8.0-oreo
android ×1
android-8.0-oreo ×1
service ×1