Tweak visual voicemail

b/30254448
When something triggered vvm activation under airplane mode an error
will overwrite the "turn off airplane mode" message.

After this CL activation task cannot be launched when there is no
signal.

b/30230197
The error message "PIN too short" and "PIN mismatch" is showing when
the input box is still empty, confusing the user.

After this CL, the error message will not be shown if the user has
not typed anything yet. Logging in the change PIN activity is also
improved.

b/30191958
"Actvating" is shown to user that has "subscriber unknown"
provisioning status, but the carrier does not support provisioning.
The activation should fail immediately, and a message should be shown.

After this CL the "Can't activate visual voicemail" will be displayed
if provisioning can not be done.

b/30197149
Sync fails too easily. Sync is only tried for three times in a three
minute period. Tries increased to 5.

b/30155953
The error from the last sync retains until the new sync has completed,
even if the root cause like airplane mode is already resolved.

After this CL when a new sync is started the IMAP_OPERATION_STARTED
event will be sent and data channel errors will be cleared.

Change-Id: I035145849d281834fd7ef84d22162d490430b70c
Fixes: 30254448
Fixes: 30230197
Fixes: 30191958
Fixes: 30197149
Fixes: 30155953
8 files changed