sticky service

  1. I

    Android Question Service gets paused when app is updated

    My app has a service which has StartAtBoot=True. It used to be a sticky service, but since the app now targets API Level 26, it uses Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_ALWAYS instead. The service has a persistent notification icon. The problem is whenever a user...
  2. I

    Android Question Sticky Service not working on Android 8.0

    I have a Sticky Service that needs to be up all the time but doesn't restart itself when target SDK is 26. I did read the thread on Android 8.0 but still have some doubt regarding this. Firstly, here is what my app does: It runs a service that has a FileObserver monitoring a particular folder...