Fixing a crash when clicking download notification while Chrome is killed
When clicking on download notification, Chrome checks if the download file can be opened by itself. This calls into a native function. However, if user kills Chrome, and then clicks the notification, this generates a Broadcast to Chrome. When BroadcastReceiver runs, native library is not loaded. As a result, this generates a crash. This CL solves the problem by performing the mime type checking when download completes. So that we don't need to check it when BroadcastReceiver runs BUG=658012 Review-Url: https://codereview.chromium.org/2446643004 Cr-Commit-Position: refs/heads/master@{#427204}
Showing
Please register or sign in to comment