diff options
author | Selim Gurun <sgurun@google.com> | 2014-01-17 20:30:26 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-17 20:30:26 +0000 |
commit | 80c5561d0c5ae5298009b42a5307fefcf67bb7bc (patch) | |
tree | 583fa16570ddf7672d564f09aee47fa255da4e07 /src | |
parent | 9ffd2affa0082fc1a833ca33d60ce9c505ae2735 (diff) | |
parent | c07b176f83c7565bed29e2c2e4520326f00bc435 (diff) | |
download | packages_apps_Browser-80c5561d0c5ae5298009b42a5307fefcf67bb7bc.zip packages_apps_Browser-80c5561d0c5ae5298009b42a5307fefcf67bb7bc.tar.gz packages_apps_Browser-80c5561d0c5ae5298009b42a5307fefcf67bb7bc.tar.bz2 |
am c07b176f: 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 'c07b176f83c7565bed29e2c2e4520326f00bc435':
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"))); } |