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

Closes #614: Process Custom Tab intent again if activity is recreated #859

Closed
wants to merge 1 commit into from

Conversation

jonalmeida
Copy link
Collaborator

See mozilla-mobile/android-components#3773 (comment) for a detailed explanation for this change.

Pull Request checklist

Before merging checklist

  • Changelog: This PR includes a changelog entry or does not need one.

@jonalmeida jonalmeida requested a review from pocmo August 1, 2019 21:54
@jonalmeida jonalmeida requested a review from a team as a code owner August 1, 2019 21:54
override fun onCreate(savedInstanceState: Bundle?) {

// If a Custom Tab is restored by the OS after low memory, we need to process the intent again.
components.utils.intentProcessor.process(intent)
Copy link
Contributor

Choose a reason for hiding this comment

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

I fail to understand why this activity would be recreated with the custom tab intent instead of the intent this activity was created with 🤔

@jonalmeida
Copy link
Collaborator Author

Closing since this temporary fix doesn't work any more after breaking up the browser fragment and activities and/or multiple intent processors.

Will continue the investigation in the ticket.

@jonalmeida jonalmeida closed this Aug 26, 2019
@jonalmeida jonalmeida deleted the issue-614 branch August 26, 2019 04:02
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.

2 participants