forked from mozilla-mobile/android-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For mozilla-mobile#8989 - Support multiple prompts in the same Session
Following crash reports it was seen that it is possible for multiple prompts to be shown at the same time with an edgecase being that one prompt request comes after the user interacted with a previous prompt but before the consume call completing in AC / GV time at which this code will try to use the new prompt, not the one the user interacted with. Having support for multiple prompt requests in ContentState and tightly coupling a PromptDialogFragment with it's PromptRequest ensures any action consuming a PromptDialogFragment will always consume the PromptRequest for which that dialog was shown irrespective of the number of prompts or which is currently shown on top.
- Loading branch information
Showing
35 changed files
with
522 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.