forgot to rename a method

This commit is contained in:
Vincent Breitmoser 2015-03-02 18:20:02 +01:00
parent bccdae2a40
commit 145e793db1
2 changed files with 2 additions and 4 deletions

View File

@ -38,8 +38,6 @@ import org.sufficientlysecure.keychain.ui.adapter.UserIdsAdapter;
import org.sufficientlysecure.keychain.ui.dialog.UserIdInfoDialogFragment;
import org.sufficientlysecure.keychain.util.Log;
import java.util.Date;
public class ViewKeyFragment extends LoaderFragment implements
LoaderManager.LoaderCallbacks<Cursor> {
@ -159,7 +157,7 @@ public class ViewKeyFragment extends LoaderFragment implements
return new CursorLoader(getActivity(), baseUri, UNIFIED_PROJECTION, null, null, null);
}
case LOADER_ID_USER_IDS:
return UserIdsAdapter.yo(getActivity(), mDataUri);
return UserIdsAdapter.createLoader(getActivity(), mDataUri);
default:
return null;

View File

@ -184,7 +184,7 @@ public class UserIdsAdapter extends UserAttributesAdapter {
// don't show revoked user ids, irrelevant for average users
public static final String USER_IDS_WHERE = UserPackets.IS_REVOKED + " = 0";
public static CursorLoader yo (Activity activity, Uri dataUri) {
public static CursorLoader createLoader(Activity activity, Uri dataUri) {
Uri baseUri = UserPackets.buildUserIdsUri(dataUri);
return new CursorLoader(activity, baseUri,
UserIdsAdapter.USER_IDS_PROJECTION, USER_IDS_WHERE, null, null);