Remove uuids

This commit is contained in:
M66B 2019-04-24 12:24:53 +02:00
parent b19dd4f9bb
commit 55a111090f
1 changed files with 6 additions and 1 deletions

View File

@ -1315,13 +1315,18 @@ public class FragmentCompose extends FragmentBase {
intent.putExtra(OpenPgpApi.EXTRA_SIGN_KEY_ID, data.getLongExtra(OpenPgpApi.EXTRA_SIGN_KEY_ID, -1));
intent.putExtra(OpenPgpApi.EXTRA_REQUEST_ASCII_ARMOR, true);
encrypt(intent);
} else
} else {
data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID1);
data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID2);
encrypt(data);
}
}
} else if (requestCode == ActivityCompose.REQUEST_ENCRYPT || requestCode == ActivityCompose.REQUEST_SIGN) {
if (data != null) {
if (BuildConfig.BETA_RELEASE)
Log.logExtras(data);
data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID1);
data.removeExtra(OpenPgpApi.EXTRA_CALL_UUID2);
encrypt(data);
}
} else {