[Downloads Home] Prevent file URI from being exposed
This CL adds a check in MediaViewerUtils to prevent creating a pending view intent if the intent will throw a FileUriExposedException. This will prevent the "Open with" option from showing up. Bug: 893544 Change-Id: Id32d202a0bd9975bca7a93d2be7dc291cf8aab45 Reviewed-on: https://chromium-review.googlesource.com/c/1302104Reviewed-by:Min Qin <qinmin@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/heads/master@{#603193}
Showing
Please register or sign in to comment