diff options
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"))); } |