weixin_39733805 2020-11-29 14:25
浏览 0

Improve notifications service

Check why the notifications service seems to run again, it should wait until an hour before the next airing episode.

该提问来源于开源项目:UweTrottmann/SeriesGuide

  • 写回答

5条回答 默认 最新

  • weixin_39733805 2020-11-29 14:25
    关注

    Funny story: as far as I understand, if Android decides to kill our cached (= not running) notification service it will later try to re-launch it if more resources become available. As a result it will run the default routine, which does not know about what notifications were already displayed.

    In addition: on boot-up the notifications service should not run immediately, instead set a timer a few seconds in the future to help speeding up the boot process.

    评论

报告相同问题?