Use h3 extension from Settings.

This commit is contained in:
Maschell 2018-12-06 16:40:34 +01:00
parent a16c1943c0
commit 7cd2109099

View File

@ -52,7 +52,7 @@ public class NUSDataProviderRemote extends NUSDataProvider {
@Override @Override
public byte[] getContentH3Hash(Content content) throws IOException { public byte[] getContentH3Hash(Content content) throws IOException {
NUSDownloadService downloadService = NUSDownloadService.getDefaultInstance(); NUSDownloadService downloadService = NUSDownloadService.getDefaultInstance();
String url = getRemoteURL(content) + ".h3"; String url = getRemoteURL(content) + Settings.H3_EXTENTION;
return downloadService.downloadToByteArray(url); return downloadService.downloadToByteArray(url);
} }