On most Android devices, loading a file from the native file choose using the ‘Downloads’ smart filter will return a URL (using
getURLResult()) that looks something like this:
However, on the Pixel 2, loading the same file using the ‘Downloads’ smart filter gives a URL of the form:
The former resolves correctly when a call to
getLocalFile() is made on the URL. The latter does not correctly resolve, and
false instead of
true as it should. Currently, on the Pixel 2, the user is thus unable to use the ‘Downloads’ smart filter in the file chooser.