Fixed download notification crash caused by uninitialized browser process
If browser process is killed, tapping on download notification leads to a crash. Currently this is happening due to an early call to getLastUsedProfile() used by FeatureEngagementTracker. This can be prevented by adding an extra check for browser statup complete. Also reordered the openDownloadedContent function to open the downloaded item instead of download home in that scenario. That alone should also prevent the crash. BUG=715442 Review-Url: https://codereview.chromium.org/2876973002 Cr-Commit-Position: refs/heads/master@{#471195}
Showing
Please register or sign in to comment