summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-01-17 20:28:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-17 20:28:23 +0000
commitc07b176f83c7565bed29e2c2e4520326f00bc435 (patch)
tree38947647e3c7507056454c1e444390250d6ce300 /src
parenta5118877a7193dbeb14e57c6316db70a3201481d (diff)
parent64450519436f2dcb064321391e407cd844cef95b (diff)
downloadBrowser-c07b176f83c7565bed29e2c2e4520326f00bc435.tar.gz
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')
-rw-r--r--src/com/android/browser/Tab.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/Tab.java b/src/com/android/browser/Tab.java
index 7d2fe1e7..5d564a1f 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")));
}