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

Commit 49a35613 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

fix: add missing flag for login Activity's intent

parent aef2c959
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -62,7 +62,12 @@ class ReLoginWithOidcService: Service() {
            { future ->
                val intent = getIntentFromFuture(future)


                intent?.let {
                    it.apply {
                        flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
                    }
                    
                    PendingIntent.getActivity(context,
                        0,
                        it,