(String src, String docId)
| 1047 | } |
| 1048 | |
| 1049 | private Uri getUri(String src, String docId) { |
| 1050 | Uri srcUri = Uri.parse(src); |
| 1051 | String srcId = DocumentsContract.getTreeDocumentId(srcUri); |
| 1052 | srcUri = DocumentsContract.buildDocumentUriUsingTree(srcUri, srcId); |
| 1053 | return DocumentsContract.buildDocumentUriUsingTree(srcUri, docId); |
| 1054 | } |
| 1055 | |
| 1056 | private void exists(String path, CallbackContext callback) { |
| 1057 | DocumentFile file = DocumentFile.fromSingleUri(context, Uri.parse(path)); |
no outgoing calls
no test coverage detected