Importing an IMAP account via QR code was using the default deletePolicy value from AccountSettingsDescriptions. This means deleting a message in Thunderbird for Android would only delete it locally, but not from the server.
This change uses DeletePolicyProvider to set the appropriate deletePolicy for the account type when importing an account via QR code.
Importing an IMAP account via QR code was using the default
deletePolicy
value fromAccountSettingsDescriptions
. This means deleting a message in Thunderbird for Android would only delete it locally, but not from the server.This change uses
DeletePolicyProvider
to set the appropriatedeletePolicy
for the account type when importing an account via QR code.