Chromium Code Reviews
DescriptionFixing 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
TBR=dfalcantara@chromium.org
BUG=658012
Review-Url: https://codereview.chromium.org/2446643004
Cr-Commit-Position: refs/heads/master@{#427204}
(cherry picked from commit ff25b0171fdd6663cc16000071c8d65c3cde1cb0)
Committed: https://chromium.googlesource.com/chromium/src/+/e92cfc834916b71c7e7dd8613d5fd2ba7da706bc
Patch Set 1 #Messages
Total messages: 2 (1 generated)
|