Allow one instance of SmbCredentialDialog for each mount ID
- This change prevents more than one instance of a UpdateCredential dialog for a single mount. - Each mount, when prompted, will have their own dialog to update credentials. - Previously, it was possible to have multiple dialogs and would crash the File App. The cause of the crash is after successfully updating the credentials of the share via the first dialog, the second dialog is no longer in a stable state and holds stale callbacks. Bug: 931846 Test: end to end manual test Change-Id: I09f85c084028943bceed3831e81cefce503f2bb7 Reviewed-on: https://chromium-review.googlesource.com/c/1470726 Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Bailey Berro <baileyberro@chromium.org> Reviewed-by:
Zentaro Kavanagh <zentaro@chromium.org> Cr-Commit-Position: refs/heads/master@{#634704}
Showing
Please register or sign in to comment