Added an overload for readFromInputStream method.
This overload defaults to any MIME type.
This commit is contained in:
parent
a2b7671677
commit
64c50fd1df
|
|
@ -54,4 +54,9 @@ public class OpenDocumentGuide implements ActivityResultCallback<Uri> {
|
|||
|
||||
openDocumentLauncher.launch(suggestedMimeTypes);
|
||||
}
|
||||
|
||||
public void readFromInputStream(InputStreamHandler inputStreamHandler){
|
||||
// Any MIME type.
|
||||
readFromInputStream(new String[]{"*/*"},inputStreamHandler);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue