fixed QR code scan and serialKeyImport progress

This commit is contained in:
Adithya Abraham Philip
2015-07-08 18:11:10 +05:30
parent eab46df9a3
commit a038a038c3
2 changed files with 4 additions and 2 deletions

View File

@@ -155,7 +155,9 @@ public class ImportOperation extends BaseOperation<ImportKeyringParcel> {
public ImportKeyResult serialKeyRingImport(Iterator<ParcelableKeyRing> entries, int num,
String keyServerUri, Progressable progressable,
Proxy proxy) {
updateProgress(R.string.progress_importing, 0, 100);
if (progressable != null) {
progressable.setProgress(R.string.progress_importing, 0, 100);
}
OperationLog log = new OperationLog();
log.add(LogType.MSG_IMPORT, 0, num);