diff --git a/app/src/main/java/org/fdroid/fdroid/data/AppProvider.java b/app/src/main/java/org/fdroid/fdroid/data/AppProvider.java index 8866d1af0..15b482ec7 100644 --- a/app/src/main/java/org/fdroid/fdroid/data/AppProvider.java +++ b/app/src/main/java/org/fdroid/fdroid/data/AppProvider.java @@ -170,14 +170,8 @@ public class AppProvider extends FDroidProvider { return app; } - /* - * I wasn't quite sure on the best way to execute arbitrary queries using the same DBHelper as the - * content provider class, so I've hidden the implementation of this (by making it private) in case - * I find a better way in the future. - */ public static void calcDetailsFromIndex(Context context) { - final Uri fromUpstream = calcAppDetailsFromIndexUri(); - context.getContentResolver().update(fromUpstream, null, null, null); + context.getContentResolver().update(calcAppDetailsFromIndexUri(), null, null, null); } public static List findCanUpdate(Context context, String[] projection) {