index.xml must use "sha256" as hash type, not "SHA-256"
Otherwise the string matching in RepoXMLHandler.endElement() fails, and the swap repo's index.xml will use "SHA-256" instead of the correct "sha256".
This commit is contained in:
parent
f56fbf4dcb
commit
ddb85befa6
@ -382,7 +382,7 @@ public class App extends ValueObject implements Comparable<App>, Parcelable {
|
||||
SanitizedFile apkFile = SanitizedFile.knownSanitized(packageInfo.applicationInfo.publicSourceDir);
|
||||
app.installedApk = new Apk();
|
||||
if (apkFile.canRead()) {
|
||||
String hashType = "SHA-256";
|
||||
String hashType = "sha256";
|
||||
String hash = Utils.getBinaryHash(apkFile, hashType);
|
||||
if (TextUtils.isEmpty(hash)) {
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user