Allow resource and file URIs in ImageView.setImageURI()
Before, if you passed an android.resource URI, e.g.
"android.resource://com.android.browser/2130837550"
to ImageView.setImageURI(), it failed with:
I/System.out( 1730): resolveUri failed on bad bitmap uri: android.resource://com.android.browser/2130837550
This change allows android.resource: and file: URIs in addition to the
existing support for content: URIs.
Fixes: http://b/issue?id=2289441
Change-Id: I98819b183c29eb60a70708d373d2199cdc0ea017
1 file changed