mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-29 04:55:15 +00:00
22 lines
545 B
Java
22 lines
545 B
Java
package org.thoughtcrime.securesms.database.loaders;
|
|
|
|
import android.content.Context;
|
|
import android.database.Cursor;
|
|
|
|
import org.thoughtcrime.securesms.database.DatabaseFactory;
|
|
import org.thoughtcrime.securesms.util.AbstractCursorLoader;
|
|
|
|
public class BlockedContactsLoader extends AbstractCursorLoader {
|
|
|
|
public BlockedContactsLoader(Context context) {
|
|
super(context);
|
|
}
|
|
|
|
@Override
|
|
public Cursor getCursor() {
|
|
return DatabaseFactory.getRecipientPreferenceDatabase(getContext())
|
|
.getBlocked();
|
|
}
|
|
|
|
}
|