Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1292)

Issue 2616893005: Catch exception from DownloadManager.getUriForDownloadedFile() for Xiaomi phones (Closed)

Created:
3 years, 11 months ago by qinmin
Modified:
3 years, 11 months ago
Reviewers:
gone
CC:
chromium-reviews, asanka, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Catch exception from DownloadManager.getUriForDownloadedFile() for Xiaomi phones This is crashing on Xiaomi phones Android API doc never deprecates the call, so it is their ROM issue Catch the exception so Chrome will not crash. But click on download completion notification will not have any effect. BUG=678938 Review-Url: https://codereview.chromium.org/2616893005 Cr-Commit-Position: refs/heads/master@{#442750} Committed: https://chromium.googlesource.com/chromium/src/+/f8bee1d41368c1a6f66901fdf65dbdb49e002127

Patch Set 1 #

Patch Set 2 : catch exceptions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/download/DownloadBroadcastReceiver.java View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerDelegate.java View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/DownloadManagerService.java View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
qinmin
PTAL
3 years, 11 months ago (2017-01-06 23:18:20 UTC) #2
gone
IIRC there's a second location where this function is called from. Does that need to ...
3 years, 11 months ago (2017-01-06 23:37:36 UTC) #3
qinmin
On 2017/01/06 23:37:36, dfalcantara (check queue) wrote: > IIRC there's a second location where this ...
3 years, 11 months ago (2017-01-10 00:04:15 UTC) #4
gone
On 2017/01/10 00:04:15, qinmin wrote: > On 2017/01/06 23:37:36, dfalcantara (check queue) wrote: > > ...
3 years, 11 months ago (2017-01-10 19:14:34 UTC) #5
gone
On 2017/01/10 19:14:34, dfalcantara (check queue) wrote: > On 2017/01/10 00:04:15, qinmin wrote: > > ...
3 years, 11 months ago (2017-01-10 19:15:03 UTC) #6
qinmin
On 2017/01/10 19:14:34, dfalcantara (check queue) wrote: > On 2017/01/10 00:04:15, qinmin wrote: > > ...
3 years, 11 months ago (2017-01-10 22:12:04 UTC) #7
gone
cool cool lgtm
3 years, 11 months ago (2017-01-10 22:13:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2616893005/20001
3 years, 11 months ago (2017-01-10 22:54:22 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/97339)
3 years, 11 months ago (2017-01-11 00:25:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2616893005/20001
3 years, 11 months ago (2017-01-11 00:31:00 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 01:04:38 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f8bee1d41368c1a6f66901fdf65d...

Powered by Google App Engine
This is Rietveld 408576698