diff options
Diffstat (limited to 'src/com/android/browser/IntentHandler.java')
-rw-r--r-- | src/com/android/browser/IntentHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/IntentHandler.java b/src/com/android/browser/IntentHandler.java index 9f05499..e32f871 100644 --- a/src/com/android/browser/IntentHandler.java +++ b/src/com/android/browser/IntentHandler.java @@ -109,7 +109,7 @@ public class IntentHandler { // If url is to view private data files, don't allow. Uri uri = intent.getData(); - if (uri != null && uri.getScheme().startsWith("file") && + if (uri != null && uri.getScheme().toLowerCase().startsWith("file") && uri.getPath().startsWith(mActivity.getDatabasePath("foo").getParent())) { return; } |