Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da2223f8 authored by Scott Kennedy's avatar Scott Kennedy
Browse files

Remove a method

It was only being called in one location, and the parameter was being
ignored.

Change-Id: Ia853dd8d3898ac3e4c4b2fb3a51d103844b57ca1
parent 67bea2ef
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -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) {