Loading core/java/android/content/CursorLoader.java +1 −9 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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) { Loading Loading
core/java/android/content/CursorLoader.java +1 −9 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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) { Loading