diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-17 12:17:40 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-17 12:17:40 -0800 |
commit | 6f304cae570865efa4b3f1d7f6664424a603f4c7 (patch) | |
tree | 6eb62292c5a121d46864b1a22d057b97b73ea892 /src/com/android/browser/Tab.java | |
parent | 88b4f433599ec751d278cd97925f7fffcb2e92e2 (diff) | |
parent | 23ed73fd8003ea840f55de31bfda1b0b92063f89 (diff) | |
download | packages_apps_Browser-6f304cae570865efa4b3f1d7f6664424a603f4c7.zip packages_apps_Browser-6f304cae570865efa4b3f1d7f6664424a603f4c7.tar.gz packages_apps_Browser-6f304cae570865efa4b3f1d7f6664424a603f4c7.tar.bz2 |
am 23ed73fd: am dd873d25: am b3a20816: am 5f86f1d1: am e5188530: am 9f99f739: am d2391b49: Further tighten the files that the browser can show
* commit '23ed73fd8003ea840f55de31bfda1b0b92063f89':
Further tighten the files that the browser can show
Diffstat (limited to 'src/com/android/browser/Tab.java')
-rw-r--r-- | src/com/android/browser/Tab.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java index 79e635e..d4fd751 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -634,7 +634,7 @@ class Tab implements PictureListener { File file = new File(uri.getPath()); try { if (file.getCanonicalPath().startsWith( - mContext.getDatabasePath("foo").getParent())) { + mContext.getApplicationContext().getApplicationInfo().dataDir)) { return new WebResourceResponse("text/html","UTF-8", new ByteArrayInputStream(RESTRICTED.getBytes("UTF-8"))); } |