Avoid using API introduced in Android level 26 when minimum is 21.
ContentResolver.query() with four argument was introduced in
level 26, but the variant with five argument has existed since
level 16 so use that instead.
diff --git a/lib/src/main/java/com/artifex/mupdf/viewer/DocumentActivity.java b/lib/src/main/java/com/artifex/mupdf/viewer/DocumentActivity.java
index 8aeb5dc..f063007 100644
--- a/lib/src/main/java/com/artifex/mupdf/viewer/DocumentActivity.java
+++ b/lib/src/main/java/com/artifex/mupdf/viewer/DocumentActivity.java
@@ -147,7 +147,7 @@
String mimetype = getIntent().getType();
mDocKey = uri.toString();
- Cursor cursor = getContentResolver().query(uri, null, null, null);
+ Cursor cursor = getContentResolver().query(uri, null, null, null, null);
cursor.moveToFirst();
mDocTitle = cursor.getString(cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
long size = cursor.getLong(cursor.getColumnIndex(OpenableColumns.SIZE));