• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revision41d651a95ad63519e28f23f39a5c31c2dd0c8574 (tree)
Zeit2013-10-10 06:20:56
AutorMatthew Xie <mattx@goog...>
CommiterMatthew Xie

Log Message

Remove MMS support from MAP SDP

When we support MMS in the future. Revert this patch.
bug 10296324

Change-Id: I9d65895d6cb55b3967efcddc2c37b3f95ba3ce38

Ändern Zusammenfassung

Diff

--- a/btif/src/btif_sock_sdp.c
+++ b/btif/src/btif_sock_sdp.c
@@ -225,11 +225,11 @@ typedef struct
225225 const char* service_name; /* Description of the MAS instance */
226226 UINT8 supported_message_types;/* Server supported message types - SMS/MMS/EMAIL */
227227 } tBTA_MAPS_CFG;
228-const tBTA_MAPS_CFG bta_maps_cfg_sms_mms =
228+const tBTA_MAPS_CFG bta_maps_cfg_sms =
229229 {
230230 0, /* Mas id 0 is for SMS/MMS */
231- "MAP SMS/MMS",
232- BTA_MAP_MSG_TYPE_SMS_GSM | BTA_MAP_MSG_TYPE_SMS_CDMA | BTA_MAP_MSG_TYPE_MMS
231+ "MAP SMS",
232+ BTA_MAP_MSG_TYPE_SMS_GSM | BTA_MAP_MSG_TYPE_SMS_CDMA
233233 };
234234 const tBTA_MAPS_CFG bta_maps_cfg_email =
235235 {
@@ -246,7 +246,7 @@ static int add_maps_sdp(const char* p_service_name, int scn)
246246 BOOLEAN status = FALSE;
247247 UINT32 sdp_handle = 0;
248248 // TODO: To add support for EMAIL set below depending on the scn to either SMS or Email
249- const tBTA_MAPS_CFG *p_bta_maps_cfg = &bta_maps_cfg_sms_mms;
249+ const tBTA_MAPS_CFG *p_bta_maps_cfg = &bta_maps_cfg_sms;
250250
251251 APPL_TRACE_DEBUG2("add_maps_sdd:scn %d, service name %s", scn, p_service_name);
252252