diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-17 11:41:51 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-17 11:41:51 -0800 |
commit | 9f99f739ccfb72f3e6a3c2e0ebb75b8922ed0b31 (patch) | |
tree | e159d6f9307268176f89ba716b645d7485ec9c50 /src/com/android/browser/Tab.java | |
parent | 45507172eb7a784cf1289c09e66ba92b07feae23 (diff) | |
parent | d2391b492dec778452238bc6d9d549d56d41c107 (diff) | |
download | packages_apps_Browser-9f99f739ccfb72f3e6a3c2e0ebb75b8922ed0b31.zip packages_apps_Browser-9f99f739ccfb72f3e6a3c2e0ebb75b8922ed0b31.tar.gz packages_apps_Browser-9f99f739ccfb72f3e6a3c2e0ebb75b8922ed0b31.tar.bz2 |
am d2391b49: Further tighten the files that the browser can show
* commit 'd2391b492dec778452238bc6d9d549d56d41c107':
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 b3b51fd..46143ef 100644 --- a/src/com/android/browser/Tab.java +++ b/src/com/android/browser/Tab.java @@ -631,7 +631,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"))); } |