Chromium Code Reviews
DescriptionPresentation API: fix crash when unable to create a Fragment for the dialog.
If the Activity is destroyed while the dialog is open, the Android
support library will try to cerate the dialog again with an empty
constructor provoking a crash because we did not implement such
constructor.
This CL fixes the issue by adding a default constructor that is going to
automatically dismiss the dialogs.
BUG=634828
Committed: https://crrev.com/12d7a52a6d5b67dade50366a2c44f186850f8bce
Cr-Commit-Position: refs/heads/master@{#411678}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||||||||||||||||||||