diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-17 20:28:23 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-17 20:28:23 +0000 |
commit | c07b176f83c7565bed29e2c2e4520326f00bc435 (patch) | |
tree | 38947647e3c7507056454c1e444390250d6ce300 /src/com/android/browser | |
parent | a5118877a7193dbeb14e57c6316db70a3201481d (diff) | |
parent | 64450519436f2dcb064321391e407cd844cef95b (diff) | |
download | packages_apps_Browser-c07b176f83c7565bed29e2c2e4520326f00bc435.zip packages_apps_Browser-c07b176f83c7565bed29e2c2e4520326f00bc435.tar.gz packages_apps_Browser-c07b176f83c7565bed29e2c2e4520326f00bc435.tar.bz2 |
am 64450519: am c64a55de: 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 '64450519436f2dcb064321391e407cd844cef95b':
Further tighten the files that the browser can show
Diffstat (limited to 'src/com/android/browser')
-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"))); } |