summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-01-16 10:31:35 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-16 10:31:35 -0800
commitc85fab8995a661e31e0e7227ce8ff3ef94b31b44 (patch)
tree90a8e969f6662038a3474262ad8bf969335cb1f7 /src/com/android/browser
parente3e09d431c7ccfd6cda66bdd7df4845e13787c35 (diff)
parent88408f25fe49171b37781f879308fbdb970faa87 (diff)
downloadpackages_apps_Browser-c85fab8995a661e31e0e7227ce8ff3ef94b31b44.zip
packages_apps_Browser-c85fab8995a661e31e0e7227ce8ff3ef94b31b44.tar.gz
packages_apps_Browser-c85fab8995a661e31e0e7227ce8ff3ef94b31b44.tar.bz2
am 88408f25: am f7571625: am a36781e0: Merge "DO NOT MERGE Convert the scheme to lowercase" into jb-mr1-dev
* commit '88408f25fe49171b37781f879308fbdb970faa87': DO NOT MERGE Convert the scheme to lowercase
Diffstat (limited to 'src/com/android/browser')
-rw-r--r--src/com/android/browser/IntentHandler.java2
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;
}