@crdlc Gallery handles both path and filename in open activity. https://github.com/mozilla-b2g/gaia/blob/master/apps/gallery/js/open.js#L65
Putting this check on download manager side looks innocuous, so i will update the pr. Thanks