</BUG>
else
broadcastIntent.putExtra("ABCOREUPDATETXT", String.format("%s %s", upd, pkg.pkg.substring(pkg.pkg.lastIndexOf("/") + 1)));
sendBroadcast(broadcastIntent);
}
<BUG>private void markAsDone(final String sha) throws IOException {

if (!new File(Utils.getDir(this), sha).createNewFile())
</BUG>
throw new IOException();

broadcastIntent.putExtra("ABCOREUPDATE", Packages.ARCH_PACKAGES.size() + 1);
broadcastIntent.putExtra("ABCOREUPDATEMAX", Packages.ARCH_PACKAGES.size() + 1);
if (bytesPerSec != null)
broadcastIntent.putExtra("ABCOREUPDATESPEED", bytesPerSec);
if (fileExtracted != null)
broadcastIntent.putExtra("ABCOREUPDATETXT", String.format("%s %s %s", upd, pkg.pkg.substring(pkg.pkg.lastIndexOf("/") + 1), fileExtracted));
else
broadcastIntent.putExtra("ABCOREUPDATETXT", String.format("%s %s", upd, pkg.pkg.substring(pkg.pkg.lastIndexOf("/") + 1)));
sendBroadcast(broadcastIntent);
