changed KeyserverSyncAdapterService to work with START_REDELIVER_INTENT

This commit is contained in:
Adithya Abraham Philip committed 2015-10-31 00:21:13 +05:30
1 parent 0641b9cba6
commit 4284aac0aa
2 files changed
+87 -39

No files matched your search

@@ -540,7 +540,9 @@ public class ImportOperation extends BaseOperation<ImportKeyringParcel> {
// adding required information to mResultType
// special case,no keys requested for import
if (mBadKeys == 0 && mNewKeys == 0 && mUpdatedKeys == 0) {
if (mBadKeys == 0 && mNewKeys == 0 && mUpdatedKeys == 0
&& (mResultType & ImportKeyResult.RESULT_CANCELLED)
!= ImportKeyResult.RESULT_CANCELLED) {
mResultType = ImportKeyResult.RESULT_FAIL_NOTHING;
} else {
if (mNewKeys > 0) {