diff options
| author | 2013-03-13 14:40:11 -0700 | |
|---|---|---|
| committer | 2013-03-14 10:47:10 -0700 | |
| commit | da2223f8975cab9048d554eb5229cc5ff5a1e6c1 (patch) | |
| tree | 22a276c52ed7f0691ba098a538f50f5a8f4dc155 | |
| parent | 67bea2ef32198e5e246715998c1d907b73225761 (diff) | |
Remove a method
It was only being called in one location, and the parameter was being
ignored.
Change-Id: Ia853dd8d3898ac3e4c4b2fb3a51d103844b57ca1
| -rw-r--r-- | core/java/android/content/CursorLoader.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/core/java/android/content/CursorLoader.java b/core/java/android/content/CursorLoader.java index 4e89dec9f02c..5d7d67743a7d 100644 --- a/core/java/android/content/CursorLoader.java +++ b/core/java/android/content/CursorLoader.java @@ -68,7 +68,7 @@ public class CursorLoader extends AsyncTaskLoader<Cursor> { try { // Ensure the cursor window is filled. cursor.getCount(); - registerContentObserver(cursor, mObserver); + cursor.registerContentObserver(mObserver); } catch (RuntimeException ex) { cursor.close(); throw ex; @@ -93,14 +93,6 @@ public class CursorLoader extends AsyncTaskLoader<Cursor> { } } - /** - * Registers an observer to get notifications from the content provider - * when the cursor needs to be refreshed. - */ - void registerContentObserver(Cursor cursor, ContentObserver observer) { - cursor.registerContentObserver(mObserver); - } - /* Runs on the UI thread */ @Override public void deliverResult(Cursor cursor) { |