summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/HistoryItem.java
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@android.com>2010-10-12 10:53:12 +0100
committerBjorn Bringert <bringert@android.com>2010-10-12 10:55:28 +0100
commitb1402a5c3e1617867c58d32d1fe9782cf6de423f (patch)
tree5fd13ed8e0c139f9ab3d315c81e8e249a244c2a9 /src/com/android/browser/HistoryItem.java
parentf0ef6a989031f461761b1c453318135e0af4dde1 (diff)
downloadpackages_apps_Browser-b1402a5c3e1617867c58d32d1fe9782cf6de423f.zip
packages_apps_Browser-b1402a5c3e1617867c58d32d1fe9782cf6de423f.tar.gz
packages_apps_Browser-b1402a5c3e1617867c58d32d1fe9782cf6de423f.tar.bz2
Remove some unnecessary use of hidden APIs
Change-Id: Ie72947017550d759994e34d7db8087d1f9e6d63a
Diffstat (limited to 'src/com/android/browser/HistoryItem.java')
-rw-r--r--src/com/android/browser/HistoryItem.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/HistoryItem.java b/src/com/android/browser/HistoryItem.java
index a03c29f..11198f0 100644
--- a/src/com/android/browser/HistoryItem.java
+++ b/src/com/android/browser/HistoryItem.java
@@ -43,11 +43,11 @@ import android.widget.CompoundButton;
if (isChecked) {
// FIXME: For now, add at the root level. Should we
// open AddBookmark from here?
- Bookmarks.addBookmark(mContext, true, mUrl, getName(), null, true, 0);
+ Bookmarks.addBookmark(getContext(), true, mUrl, getName(), null, true, 0);
LogTag.logBookmarkAdded(mUrl, "history");
} else {
- Bookmarks.removeFromBookmarks(mContext,
- mContext.getContentResolver(), mUrl, getName());
+ Bookmarks.removeFromBookmarks(getContext(),
+ getContext().getContentResolver(), mUrl, getName());
}
}
};