diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-16 10:23:34 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-16 10:23:34 -0800 |
commit | c5a944e42d8c584317cec0ae02c6160996bfb31b (patch) | |
tree | 538bed935b790dcbaeed8bd431bd91d5db8f7b03 /src | |
parent | d588aaeb5cac3c712c47c688ae11b1bd2fccfc68 (diff) | |
parent | 3dee66e170e6b2a9700625212ffd513f01962ec2 (diff) | |
download | packages_apps_Browser-c5a944e42d8c584317cec0ae02c6160996bfb31b.zip packages_apps_Browser-c5a944e42d8c584317cec0ae02c6160996bfb31b.tar.gz packages_apps_Browser-c5a944e42d8c584317cec0ae02c6160996bfb31b.tar.bz2 |
am 3dee66e1: Merge "DO NOT MERGE Convert the scheme to lowercase" into klp-dev
* commit '3dee66e170e6b2a9700625212ffd513f01962ec2':
DO NOT MERGE Convert the scheme to lowercase
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; } |