summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-10-21 18:53:09 +0200
committerSebastian Rasmussen <sebras@gmail.com>2012-10-22 13:44:02 +0200
commit49673b10bc32118455086d6aea44091fec6e3784 (patch)
treeb59d6a90e44d7f78b8ea5affd653176d74c8c9b8
parent0244dc33ca09d92307f216eabcd90a9492961877 (diff)
downloadmupdf-49673b10bc32118455086d6aea44091fec6e3784.tar.xz
Android: handle all ContentProvider paths the same
-rw-r--r--android/src/com/artifex/mupdf/MuPDFActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/com/artifex/mupdf/MuPDFActivity.java b/android/src/com/artifex/mupdf/MuPDFActivity.java
index 81d5e6ee..b7775d64 100644
--- a/android/src/com/artifex/mupdf/MuPDFActivity.java
+++ b/android/src/com/artifex/mupdf/MuPDFActivity.java
@@ -140,7 +140,7 @@ public class MuPDFActivity extends Activity
Intent intent = getIntent();
if (Intent.ACTION_VIEW.equals(intent.getAction())) {
Uri uri = intent.getData();
- if (uri.toString().startsWith("content://media/external/file")) {
+ if (uri.toString().startsWith("content://")) {
// Handle view requests from the Transformer Prime's file manager
// Hopefully other file managers will use this same scheme, if not
// using explicit paths.