Skip to content

Commit

Permalink
Download Home : Using startService to perform user-initiated action
Browse files Browse the repository at this point in the history
Bug: 
Change-Id: I5ff3d1d5cc8e4d03b0f631f635ab4235c7fa65c3
Reviewed-on: https://chromium-review.googlesource.com/639060
Reviewed-by: Min Qin <[email protected]>
Commit-Queue: Shakti Sahu <[email protected]>
Cr-Commit-Position: refs/heads/master@{#498198}
  • Loading branch information
Shakti Sahu authored and Commit Bot committed Aug 29, 2017
1 parent e088d8a commit 2054f23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ public void broadcastDownloadAction(DownloadItem downloadItem, String action) {
Intent intent = buildActionIntent(mContext, action,
LegacyHelpers.buildLegacyContentId(false, downloadItem.getId()),
downloadItem.getDownloadInfo().isOffTheRecord());
mContext.sendBroadcast(intent);
mContext.startService(intent);
}

/**
Expand Down

0 comments on commit 2054f23

Please sign in to comment.