summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-08-09 10:54:46 -0700
committerJohn Reck <jreck@google.com>2011-08-09 10:54:46 -0700
commitdb78cd054b0344e67a18dc9e1d1a154d3814dc77 (patch)
tree415c8d6cac5c34e5a68c9bf26e1526bcf93ab2f1 /src
parente28b347fcc1df6e6bd41cb294d521a4f1e7c5c75 (diff)
downloadpackages_apps_Browser-db78cd054b0344e67a18dc9e1d1a154d3814dc77.zip
packages_apps_Browser-db78cd054b0344e67a18dc9e1d1a154d3814dc77.tar.gz
packages_apps_Browser-db78cd054b0344e67a18dc9e1d1a154d3814dc77.tar.bz2
Tests fixup
Bug: 5113381 Fix case of using the wrong context (BP1 would use the app context explicitly, bypassing the mock context) Clean up test databases after runs Change-Id: Ibac09d08d4ab7235d5763c209d84be2562e6fae3
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/provider/BrowserProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider.java b/src/com/android/browser/provider/BrowserProvider.java
index fabf57e..b55b84a 100644
--- a/src/com/android/browser/provider/BrowserProvider.java
+++ b/src/com/android/browser/provider/BrowserProvider.java
@@ -251,7 +251,7 @@ public class BrowserProvider extends ContentProvider {
public DatabaseHelper(Context context) {
super(context, sDatabaseName, null, DATABASE_VERSION);
- mContext = context.getApplicationContext();
+ mContext = context;
}
@Override