Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94ff20fd authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls UI - Remove BIND_WAIVE_PRIORITY

This should resolve an issue with the network being cut from the
service after periods of inactivity

Bug: 152218915
Test: manual
Change-Id: Ife28c1de75959afab6ea969c14780cfd0de48b3b
parent 5562d464
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -78,8 +78,7 @@ class ControlsProviderLifecycleManager(
        private const val LOAD_TIMEOUT_SECONDS = 30L // seconds
        private const val MAX_BIND_RETRIES = 5
        private const val DEBUG = true
        private val BIND_FLAGS = Context.BIND_AUTO_CREATE or Context.BIND_FOREGROUND_SERVICE or
                Context.BIND_WAIVE_PRIORITY
        private val BIND_FLAGS = Context.BIND_AUTO_CREATE or Context.BIND_FOREGROUND_SERVICE
    }

    private val intent = Intent().apply {