diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-16 18:17:18 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-01-16 18:17:19 +0000 |
commit | 3dee66e170e6b2a9700625212ffd513f01962ec2 (patch) | |
tree | 4b1ce742e8e860b65e4dbeb07a9bab8a0aa2f3e0 /src | |
parent | 5f9ac43a65943dc1769d08c7464395af9b7ff7da (diff) | |
parent | 852794efb885dcc9668968537d03f091821c563a (diff) | |
download | packages_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.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 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; } |