Fix: Don't always use /icons/ due to wrong SQL param order
This commit is contained in:
parent
55acd955b9
commit
88285b0a6b
@ -808,9 +808,10 @@ public class AppProvider extends FDroidProvider {
|
|||||||
|
|
||||||
Log.d("FDroid", "Updating icon paths for apps belonging to repos with version >= " + Repo.VERSION_DENSITY_SPECIFIC_ICONS);
|
Log.d("FDroid", "Updating icon paths for apps belonging to repos with version >= " + Repo.VERSION_DENSITY_SPECIFIC_ICONS);
|
||||||
String iconsDir = Utils.getIconsDir(getContext());
|
String iconsDir = Utils.getIconsDir(getContext());
|
||||||
|
Log.d("FDroid", "Using icon dir '"+iconsDir+"'");
|
||||||
String repoVersion = Integer.toString(Repo.VERSION_DENSITY_SPECIFIC_ICONS);
|
String repoVersion = Integer.toString(Repo.VERSION_DENSITY_SPECIFIC_ICONS);
|
||||||
String query = getIconUpdateQuery();
|
String query = getIconUpdateQuery();
|
||||||
String[] params = { iconsDir, repoVersion };
|
String[] params = { repoVersion, iconsDir };
|
||||||
write().execSQL(query, params);
|
write().execSQL(query, params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user