diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-17 12:20:16 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-17 12:20:16 -0800 |
commit | c64a55dea1445bc5d88756a74cae32fa1b0fb533 (patch) | |
tree | a03fa0600c117b17953aca0526a2957431438e53 /src | |
parent | 8dd420a57c12be0aedf9a65d0054acaf3acfde85 (diff) | |
parent | 6f304cae570865efa4b3f1d7f6664424a603f4c7 (diff) | |
download | packages_apps_Browser-c64a55dea1445bc5d88756a74cae32fa1b0fb533.zip packages_apps_Browser-c64a55dea1445bc5d88756a74cae32fa1b0fb533.tar.gz packages_apps_Browser-c64a55dea1445bc5d88756a74cae32fa1b0fb533.tar.bz2 |
am 6f304cae: am 23ed73fd: am dd873d25: am b3a20816: am 5f86f1d1: am e5188530: am 9f99f739: am d2391b49: Further tighten the files that the browser can show
* commit '6f304cae570865efa4b3f1d7f6664424a603f4c7':
Further tighten the files that the browser can show
Diffstat (limited to 'src')
-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 7d2fe1e..5d564a1 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -582,7 +582,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"))); } |