summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-02Remove airplane mode and mobile data check for MMS request executionandroid-5.1.1_r5android-5.1.1_r28android-5.1.1_r22android-5.1.1_r17android-5.1.1_r12lollipop-mr1-wfc-releaseYe Wen
The check prevents MMS from being sent if wifi or other channel can be used to send MMS. When there is an API in telephony allowing the check of available MMS channels, the check should be added back Bug: 19519883, 19525242 Change-Id: Ie90a4f3eabf3155159dd307bd613f669cda88ac6
2015-02-19Redact MMS message URL loggingYe Wen
Sprint embeds phone number into message URL. b/19444241 Change-Id: I19505816d6b0639e2bd66bcfe12b53a6531db766
2015-01-12Rename reg/unreg OnSubscriptionsChangedListener.lollipop-mr1-devWink Saville
To addOnSubscriptionsChangedListener and removeOnSubscriptionsChangedListener. Bug: 18984103 Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
2015-01-06Check airplane mode and mobile data before sendingYe Wen
Return new error code either in airplane mode or when mobile data is disabled. App may choose not to retry for this error b/18872094 Change-Id: I0e1c7eff830fe44ae16049375b6c4a50a55901d8
2014-12-16Don't send charset with Content-Type header by defaultYe Wen
b/18604507 Change-Id: I298c7eb32a27e6e824ae781e5bf73ab31bf4deca
2014-12-15Do not add charset to Content-Type header for some carriersYe Wen
b/18604507 Change-Id: Ic29475e11e516d95196df34f29ad9361f9a7d12b
2014-12-11Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.Wink Saville
Bug: 18668873 Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
2014-12-05Secondary user support - Broadcast intent after MMS is downloadedTom Taylor
Bug 18399514 Broadcast an intent after a MMS is downloaded. Messaging apps running as secondary users can use this to notify users a new message has arrived. Change-Id: Idd8211375f537be779c644f60835d84f6a60aa58
2014-12-04Merge "Move force 7 bit encoding for Vodafone Spain to correct location." ↵Vineeta Srivastava
into lmp-mr1-dev
2014-12-04Merge "Look up MMS APN using the active MMS APN name" into lmp-mr1-devYe Wen
2014-12-04Merge "Use AIDL based API's to comunicate with the carrier app for MMS ↵Cheuksan Wang
sending and downloading." into lmp-mr1-dev
2014-12-03Look up MMS APN using the active MMS APN nameTony Hill
Get the active MMS APN name from ConnectivityManager and use that when retrieving the APN details (e.g. MMSC address). The query will then return the APN that matches both the SIM MCC/MNC and the active APN name. If no match is found then fallback to a query based on MCC/MNC only. This fixes an issue where host network MMS APN details could be used for MVNOs, or vice versa, preventing MMS from being sent or received. Bug: 17884903/18519308 Change-Id: I09e32d327e22ad31612a90e09c4aedfaf63870cc
2014-12-03Move force 7 bit encoding for Vodafone Spain to correct location.Andy Thompson
Bug: 18569195 Change-Id: Idaaa40353883b28adaa1ff12db6daffa6887ee4b
2014-12-01Use AIDL based API's to comunicate with the carrier app for MMS sending and ↵Abhijith Shastry
downloading. BUG: 18005911 Change-Id: I2d874bac71ee531c41bf9417444d41c45f179dc0
2014-11-26MmsService fixesYe Wen
- Fix MmsNetworkManager to always clear up mNetwork when connection is lost or unavailable (b/18327075) - Fix MmsHttpClient to always return HTTP status for 4xx and 5xx failures (b/17520290) - Fix MmsNetworkManager.getAllByName to not synchronize on the call of Network.getAllByName (b/18543268) - Also added logging for UA and UAProfUrl b/18327075 b/17520290 b/18543268 Change-Id: Ic4b71898081b36f7cfda1e28863477a658a0e3aa
2014-11-20Additional changes to SubscriptionManager API as per API council.Wink Saville
bug: 17575308 Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
2014-11-20Revert "Additional changes to SubscriptionManager API as per API council."Wink Saville
This reverts commit e05c0f2174664f12bfb77db898b261c8d3f31f75. Change-Id: I5b646effaca458cf8b08e707da5fcd3424f17099
2014-11-19Additional changes to SubscriptionManager API as per API council.Wink Saville
bug: 17575308 Change-Id: I7773965094510999bfce8fc6b2b31ba6ce496653
2014-11-18PduParser MSIM support (1/4)Ye Wen
PduParser needs to know if Content-Disposition part header is supported for a specific carrier. Originally this is loaded directly from system resource in PduParser. This won't work for multi-SIM, which requires getting that config based on carrier. This change adds parameter to indicate if this header is supported and requires caller to provider the config. b/18371228 Change-Id: Ief4ef8942f5dce5251429887f312dcadb03dbf39
2014-11-14Merge "Add APN logging when doing MMS request" into lmp-mr1-devYe Wen
2014-11-12Stop persisting MMS into OUTBOX before sendingYe Wen
Persisting MMS into OUTBOX before sending proved to cause problems with Messaging app (and potentially other apps) that could try sending messages in OUTBOX without being asked as manifested in bug b/18155366. This CL only presists SendReq after it is being sent. b/18202414 Change-Id: Iae041a2a8b135d8ea5975e36242be128a608e292
2014-11-12Add APN logging when doing MMS requestYe Wen
b/18351762 Change-Id: I5b95109638c26c424d67e749cfe4d08cd8cbd3ff
2014-11-11Update SubscriptionManager API as per API council.Wink Saville
bug: 17575308 Change-Id: Ib39a60e4f75981a466e9d606ec627756efad018d
2014-11-07Support multi-sim in mms serviceYe Wen
Also fixed bug related to LINE1 macro in mms config b/17945978 b/16681645 b/17945978 Change-Id: I79e33d6f1b72f18fb7a12afef903ef96e98ce052
2014-11-04Use okhttp lib for MMS service HTTP requestYe Wen
b/18103954 b/17965324 Change-Id: Iab09cbeb7c2475b55d476e24b175f3c0736b6703
2014-10-30Clean up public API of SubInfoRecord.Stuart Scott
bug: 17575308 Change-Id: I9816db17b9a553d814726e0ac6d63a4e97d8483c
2014-10-23Change subId to int from longWink Saville
Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
2014-10-22am fb2a1f54: Disable Content-Disposition header for 53005Ye Wen
* commit 'fb2a1f546a8b47583b524523d91f74e8cdad6193': Disable Content-Disposition header for 53005
2014-10-22am fb3b11c6: Enable force 7 bit encoding for Vodafone Spain.Andy Thompson
* commit 'fb3b11c6e16a6f3f41991c032b52487b434a987d': Enable force 7 bit encoding for Vodafone Spain.
2014-10-22Disable Content-Disposition header for 53005Ye Wen
b/17634414 Change-Id: I708ae1d0ff54773047d1f811d6836905b18b8eb8
2014-10-21Send HTTP status code back in case of MMS HTTP failure (3/3)Ye Wen
We need this in SMS app so that we can treat 404 specially b/17520290 Change-Id: I528571bba5ee8c8cabd53d74448b4ed0dda9359f
2014-10-21Enable force 7 bit encoding for Vodafone Spain.Andy Thompson
Bug: 18070871 Change-Id: I75159ad5a8687deedaba5bc2c3ea59a94b5a6c17
2014-10-20am ae4babc2: Disable multi-recipient SMS to MMS conversion for Vodafone SpainAndy Thompson
* commit 'ae4babc2b2ed3031dd7a848bab0c2961ec93efb8': Disable multi-recipient SMS to MMS conversion for Vodafone Spain
2014-10-20Disable multi-recipient SMS to MMS conversion for Vodafone Spainandroid-wear-5.0.0_r1lollipop-wear-releaselollipop-devAndy Thompson
Bug: 18047828 Change-Id: I0f539e291ad8e9d38f78dc07e7793d163271982f
2014-10-15Sprint: MMS proxy authorization does not include NAIxinhe
Read the NAI from CSIM and pass it to MMS module Bug:17752727 Change-Id: Ie4b732dc23384852f2c1107f37f19fa8b7e0fa7c
2014-10-12Update mms_config.xml for Sprint variants.William Chow
Change-Id: I505d546655643062d0e9fe1f8b4832e66ee38af9
2014-09-29Increase ATT max message size to 1MBYe Wen
b/17696662 Change-Id: I71e9cc34616b772ec1c4c392cea3f000e6c26e0b
2014-09-29Updating mms_configs for CanadaEliseu Massing
b/16448095
2014-09-29EMEA updates for mms_config.xml for Vodafone GB and O2 GBAndy Thompson
Bug: 16448095 Change-Id: I7ae28769c565f573c48d48e355d1365015976141
2014-09-25Merge "disable multipart sms support for USC" into lmp-devRamanan Rajeswaran
2014-09-25Add recipient limit for 310/170 (AT&T)Ye Wen
b/17609252 Change-Id: Ic7d48345d2e6b93ac33e75728433d64c8f3564af
2014-09-25disable multipart sms support for USCMao Bing
b/17654955 Change-Id: Id83e6c35d56956c167922f526e48314cc34dad2d
2014-09-23Limit ATT MMS recipient limit to 10 per TA request from motoYe Wen
b/17609252 Change-Id: Iccb299a8bc61164a01fed004756a6a0809e4933f
2014-09-18Do not crash when mms config is not loaded when sending mmsYe Wen
In some case, it takes the system a while to return active subscriptions which are required for mms service to load mms config. This would cause a crash if we send mms before mms config is loaded. This fix makes sure we don't crash and if that happens, gentally returns an error code to the mms sender. b/17556258 Change-Id: Ie180fb214b346e189c9ecae0d3bc4b15e4207fb1
2014-09-16Merge "PT:VZW:CV MMS not able to be sent with messenger app" into lmp-devTom Taylor
2014-09-16mms config for U.S. CellularMao Bing
b/17456092 Change-Id: Ia621ea8c43b75cef02ad85ade99785a98f54be69
2014-09-15Merge "Bug 17511639: Ensure that URI permissions kept until downloaded data ↵Julian Odell
written to content provider." into lmp-dev
2014-09-15Bug 17511639: Ensure that URI permissions kept until downloaded data writtenJulian Odell
to content provider. Change-Id: I337d208e1c2645cf008e23fa3aa50c09b5dd2567
2014-09-15Remove CURRENT column check when querying for MMS APNYe Wen
CURRENT column is not properly updated in telephony therefore may cause MMS service's failure to load APN from system. Removing the CURRENT column check temporarily to allow MMS to work. b/17471739 Change-Id: Iaf05f4ea9d5b70a92f52c0ddd109a7676057d8f7
2014-09-15PT:VZW:CV MMS not able to be sent with messenger appTom Taylor
Bug 17506557 On Sprint there's a case where the mcc/mnc was getting updated in the subscription record. As an emergency backup, particularly on single-sim devices on L, use the main context's mcc/mnc when the one in the SubInfoRecord has not been set. Also add more default logging. This extra logging only shows up at boot-up and an extra line when an MmsConfig is requested from the MmsConfigManager. Change-Id: Ie50cf08924be34f56aa13b8c382ae71d9e13caf7