Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
imablanco committed Dec 11, 2024
1 parent 931129c commit 1676085
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,12 @@ class LoginActivity : ComponentActivity() {

fun getIntent(context: Context): Intent {
return Intent(context, LoginActivity::class.java)
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_SINGLE_TOP)
}

fun createResponseHandlingIntent(context: Context, responseUri: Uri?): Intent {
return getIntent(context).setData(responseUri)
return getIntent(context)
.setData(responseUri)
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_SINGLE_TOP)
}
}
}

0 comments on commit 1676085

Please sign in to comment.