Fix missing resource issue.

When adding "default_repo_priority", it was copy/pasted from
"default_repo_pubkey" without changing the name, and so
tried to cast the string value into an int and failed.
This commit is contained in:
Peter Serwylo 2014-03-19 07:02:00 +11:00
parent fa8052611e
commit 94300592d9

View File

@ -215,7 +215,7 @@ public class DBHelper extends SQLiteOpenHelper {
"org.fdroid.fdroid"
)));
values.put("priority", ress.getInteger(ress.getIdentifier(
"default_repo_pubkey" + i,
"default_repo_priority" + i,
"integer",
"org.fdroid.fdroid"
)));