summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AddBookmarkPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/AddBookmarkPage.java')
-rw-r--r--src/com/android/browser/AddBookmarkPage.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/AddBookmarkPage.java b/src/com/android/browser/AddBookmarkPage.java
index 45b1f8b..2ac6fe6 100644
--- a/src/com/android/browser/AddBookmarkPage.java
+++ b/src/com/android/browser/AddBookmarkPage.java
@@ -742,7 +742,7 @@ public class AddBookmarkPage extends Activity
private Message mMessage;
private Context mContext;
public SaveBookmarkRunnable(Context ctx, Message msg) {
- mContext = ctx;
+ mContext = ctx.getApplicationContext();
mMessage = msg;
}
public void run() {
@@ -776,7 +776,7 @@ public class AddBookmarkPage extends Activity
Long mId;
public UpdateBookmarkTask(Context context, long id) {
- mContext = context;
+ mContext = context.getApplicationContext();
mId = id;
}
@@ -1062,7 +1062,7 @@ public class AddBookmarkPage extends Activity
public EditBookmarkInfoLoader(Context context, Bundle bundle) {
super(context);
- mContext = context;
+ mContext = context.getApplicationContext();
mMap = bundle;
}