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

Commit adb4c33e authored by Abhijith Shastry's avatar Abhijith Shastry
Browse files

Sort blocked numbers from most recent to least recent.

The provider does not support updates, hence this can be achieved by sorting by id.

BUG: 27459988

Change-Id: I9d9e1efe16f351ac241bc9eccc3814b8763aa69a
parent 228f95ee
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -154,7 +154,8 @@ public class BlockedNumbersActivity extends ListActivity
    @Override
    public Loader<Cursor> onCreateLoader(int id, Bundle args) {
        return new CursorLoader(this, BlockedNumberContract.BlockedNumbers.CONTENT_URI,
                PROJECTION, SELECTION, null, null);
                PROJECTION, SELECTION, null,
                BlockedNumberContract.BlockedNumbers.COLUMN_ID + " DESC");
    }

    @Override