History log of /packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/VisualVoicemailProtocolFactory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb6ee5f75d09e7ac6fe5dad3b3be0dccec6310fa 14-Jul-2016 Ta-wei Yen <twyen@google.com> Opt-in VVM3 for OEMs

Certain feature in VVM3 is dangerous without dialer UI support,
such as randomizing the PIN.

VVM3 should be disabled by default on non nexus devices.

Change-Id: Ia73d926245981656aa743570e50721ab7c81ac72
Fixes: 29577838
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/VisualVoicemailProtocolFactory.java
99282e0eb8f04d03c9464bea94fa2d8959edbd13 22-Jun-2016 Ta-wei Yen <twyen@google.com> Log visual voicemail to LocalLog

Up to 100 entries of visual voicemail log will be preserved and dumped
into the bug report. The status of the config will also be dumped.

Sample output:
https://paste.googleplex.com/4537194828005376

Fixes: 29517754
Change-Id: I9c460a6544f3b834009667e2eefb863735f82f9a
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/VisualVoicemailProtocolFactory.java
ce8d0fff0de34c3d982486dd8e92dbfa7b637e2b 25-May-2016 Ta-wei Yen <twyen@google.com> Support Verizon visual voicemail protocol

The VVM3 implementation differs with existing OMTP and CVVM,
especially it does not have the concept of activation/deactivation. VVM3
is activated once it is provisioned, and can not be turned off from
the client side.

To support none data driven features, We defined the
VisualVoicemailProtocol interface for methods that depends on the
implementation. The protocol will be selected based on the vvm_type_string
in the carrier config.

For VVM3 activation, instead of sending a ACTIVATE SMS which they do
not support, we will send a STATUS SMS to check the provisioning status
and get the server credentials. Provisioning is to be handled in a future
CL.

+ Carrier config values for VZW
+ VVM validity for a carrier is checked by
OmtpVvmCarrierConfigHelper.isValid() instead of getVvmType() matching.
A carrier is valid if a protocol for its' type is implemented.
+ All VVM type dependent code refactored into protocols.
+ StatusMessage.getProvisioningStatus() return unquoted status.
+ Fixed bug in ImapConnection that caused all capability to be rejected
if disabledCapability is null.

Change-Id: I512b954b3260138267cb5eeb2fcc5ae016ec0f2d
Fixes:27817303
Bug:27816386
Bug:28696525
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/VisualVoicemailProtocolFactory.java