attachment can come in as file or content scheme

This commit is contained in:
Eric House 2012-12-05 06:52:10 -08:00
parent ac8c229e75
commit a035ef5623

View file

@ -73,7 +73,7 @@ public class NetLaunchInfo {
if ( null != data ) {
String scheme = data.getScheme();
try {
if ( "content".equals(scheme) ) {
if ( "content".equals(scheme) || "file".equals(scheme) ) {
Assert.assertNotNull( context );
ContentResolver resolver = context.getContentResolver();
InputStream is = resolver.openInputStream( data );