Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if Activity is Finishing Before Browser Switch #56

Merged

Conversation

sshropshire
Copy link
Contributor

Summary of changes

  • Fix issue that causes a browser switch to start while the host Activity is finishing.

Checklist

  • Added a changelog entry

Authors

List GitHub usernames for everyone who contributed to this pull request.

Copy link
Contributor

@jaxdesmarais jaxdesmarais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👻

@@ -216,7 +220,7 @@ public void captureResult(@NonNull FragmentActivity activity) {
Uri deepLinkUrl = intent.getData();
if (deepLinkUrl != null) {
BrowserSwitchResult result =
new BrowserSwitchResult(BrowserSwitchStatus.SUCCESS, request, deepLinkUrl);
new BrowserSwitchResult(BrowserSwitchStatus.SUCCESS, request, deepLinkUrl);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the indentation level we want?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's the one enforced by the linter. It defaults to a double indent for continuation lines. We don't have a hard convention in place yet though might be worth changing.

@sshropshire sshropshire force-pushed the check_if_activity_is_finishing_before_browser_switch branch from 98e3337 to 0e410fb Compare December 19, 2022 22:58
@sshropshire sshropshire merged commit e233983 into master Dec 19, 2022
@sshropshire sshropshire deleted the check_if_activity_is_finishing_before_browser_switch branch December 19, 2022 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants