Download location: Fix a crash in DownloadLocationDialog.
The download file name can be null in some cases when the file name is set to empty by the users. In these cases, AlertDialogEditText may return null when calling getText(). Since we lose the suggested file path, the download should be canceled. Bug: 901783 Change-Id: I4989006b0a0b038fa51eacd070f7dfb542c1b2bd Reviewed-on: https://chromium-review.googlesource.com/c/1318369Reviewed-by:Min Qin <qinmin@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#605487}
Showing
Please register or sign in to comment