summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-01-16 18:17:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-16 18:17:19 +0000
commit3dee66e170e6b2a9700625212ffd513f01962ec2 (patch)
tree4b1ce742e8e860b65e4dbeb07a9bab8a0aa2f3e0 /src
parent5f9ac43a65943dc1769d08c7464395af9b7ff7da (diff)
parent852794efb885dcc9668968537d03f091821c563a (diff)
downloadpackages_apps_Browser-3dee66e170e6b2a9700625212ffd513f01962ec2.zip
packages_apps_Browser-3dee66e170e6b2a9700625212ffd513f01962ec2.tar.gz
packages_apps_Browser-3dee66e170e6b2a9700625212ffd513f01962ec2.tar.bz2
Merge "DO NOT MERGE Convert the scheme to lowercase" into klp-dev
Diffstat (limited to 'src')
-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 772541d..1b8dfc7 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;
}