mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
attachment can come in as file or content scheme
This commit is contained in:
parent
ac8c229e75
commit
a035ef5623
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue