mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-18 12:49:59 -04:00
allow displaying localized icons
Move the logic of calculating the correct iconUrl from sql to java. Fixes #1460.
This commit is contained in:
@@ -68,7 +68,7 @@ public class AppIconsTest extends MultiIndexUpdaterTest {
|
||||
App app = AppProvider.Helper.findHighestPriorityMetadata(context.getContentResolver(),
|
||||
"org.adaway", new String[]{Schema.AppMetadataTable.Cols.ICON_URL});
|
||||
|
||||
assertEquals(app.iconUrl, expectedUrl);
|
||||
assertEquals(app.getIconUrl(context), expectedUrl);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user