Remove some unused methods from providers.
This commit is contained in:
parent
6e3b1fde86
commit
ec36f2a1cd
@ -102,13 +102,6 @@ public class ApkProvider extends FDroidProvider {
|
||||
return cursorToList(cursor);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.fdroid.fdroid.data.ApkProvider.Helper#find(Context, Repo, List, String[])
|
||||
*/
|
||||
public static List<Apk> find(Context context, Repo repo, List<App> apps) {
|
||||
return find(context, repo, apps, Cols.ALL);
|
||||
}
|
||||
|
||||
public static Apk find(Context context, String packageName, int versionCode, String[] projection) {
|
||||
final Uri uri = getContentUri(packageName, versionCode);
|
||||
return find(context, uri, projection);
|
||||
@ -276,15 +269,6 @@ public class ApkProvider extends FDroidProvider {
|
||||
.build();
|
||||
}
|
||||
|
||||
public static Uri getContentUriForApks(Repo repo, List<Apk> apks) {
|
||||
return getContentUri()
|
||||
.buildUpon()
|
||||
.appendPath(PATH_REPO_APK)
|
||||
.appendPath(Long.toString(repo.id))
|
||||
.appendPath(buildApkString(apks))
|
||||
.build();
|
||||
}
|
||||
|
||||
/**
|
||||
* Intentionally left protected because it will break if apks is larger than
|
||||
* {@link org.fdroid.fdroid.data.ApkProvider#MAX_APKS_TO_QUERY}. Instead of using
|
||||
|
@ -201,10 +201,6 @@ public class AppProvider extends FDroidProvider {
|
||||
super(selection, args);
|
||||
}
|
||||
|
||||
AppQuerySelection(String selection, List<String> args) {
|
||||
super(selection, args);
|
||||
}
|
||||
|
||||
public boolean naturalJoinToInstalled() {
|
||||
return naturalJoinToInstalled;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user