From 145e793db1d732bdd230be92750123cd20c9502d Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Mon, 2 Mar 2015 18:20:02 +0100 Subject: [PATCH] forgot to rename a method --- .../org/sufficientlysecure/keychain/ui/ViewKeyFragment.java | 4 +--- .../keychain/ui/adapter/UserIdsAdapter.java | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyFragment.java index 58596f9e3..32630b459 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewKeyFragment.java @@ -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 { @@ -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; diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/UserIdsAdapter.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/UserIdsAdapter.java index ee72dac5b..6a4f61f4b 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/UserIdsAdapter.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/UserIdsAdapter.java @@ -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);