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

Commit aef2c959 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

refactor: add stopSelf() call in ReLoginWithOidcService.kt

parent 07a5b25d
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ class ReLoginWithOidcService: Service() {

        if (accountRemoved) {
            openEAccountLoginForm(accountManager, eAccountType, context)
        } else {
            stopSelf()
        }

        return START_STICKY
@@ -66,6 +68,7 @@ class ReLoginWithOidcService: Service() {
                        it,
                        PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT)
                }
                stopSelf()
            },
            null)
    }