diff options
author | Ta-wei Yen <twyen@google.com> | 2017-01-05 15:54:24 -0800 |
---|---|---|
committer | Ta-wei Yen <twyen@google.com> | 2017-01-06 10:43:59 -0800 |
commit | 1509f29d3ffd47379d2fc626363fda9632fab73f (patch) | |
tree | e4a4c0c8c27cf80ba8c12c3fc566f52654ea9c45 | |
parent | c0febc48e8e72bd25b67048584c38df83edb89e5 (diff) | |
download | android_packages_services_Telephony-1509f29d3ffd47379d2fc626363fda9632fab73f.tar.gz android_packages_services_Telephony-1509f29d3ffd47379d2fc626363fda9632fab73f.tar.bz2 android_packages_services_Telephony-1509f29d3ffd47379d2fc626363fda9632fab73f.zip |
Set client type for outbound visual voicemail SMS
The client type is used by the carriers to track what client are
accessing their services. During NMR1 it was regressed into "null".
This CL restore it back to "google.vvm.10". It should be updated
to use non-hardcoded string in the future(b/34112272)
Bug: 34051654
Change-Id: I69ead25a7b17e0b69441f4264b974904f9730865
Fixes: 34051654
Test: NA
-rw-r--r-- | src/com/android/phone/vvm/omtp/protocol/OmtpProtocol.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/phone/vvm/omtp/protocol/OmtpProtocol.java b/src/com/android/phone/vvm/omtp/protocol/OmtpProtocol.java index d0026523f..7ec3dba4e 100644 --- a/src/com/android/phone/vvm/omtp/protocol/OmtpProtocol.java +++ b/src/com/android/phone/vvm/omtp/protocol/OmtpProtocol.java @@ -28,6 +28,7 @@ public class OmtpProtocol extends VisualVoicemailProtocol { public OmtpMessageSender createMessageSender(SmsManager smsManager, short applicationPort, String destinationNumber) { return new OmtpStandardMessageSender(smsManager, applicationPort, destinationNumber, - null, OmtpConstants.PROTOCOL_VERSION1_1, null); + OmtpConstants.CLIENT_TYPE_GOOGLE_10, OmtpConstants.PROTOCOL_VERSION1_1, + null /*clientPrefix*/); } } |