summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-15Bump up MMS network request timeout and don't retry am: d0c5b20403android-o-preview-1android-n-mr2-preview-2android-n-mr2-preview-1o-previewAndre Furtado
am: ef3bdb5f6e Change-Id: Iaa14e2419870aecc24bc406f33c6998954a70ae3
2016-09-15Bump up MMS network request timeout and don't retryAndre Furtado
am: d0c5b20403 Change-Id: Ib4d728cca94b52b861a5c9a184a9c2dfd526bee2
2016-09-13Bump up MMS network request timeout and don't retryandroid-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1nougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releaseAndre Furtado
Moving forward, the MMS service will rely on the retry logic of the lower level Telephony layer, and retire it's own retry logic. Also, we increase the timeout for network requests, to ensure we give enough time for the Telephony retries to be attempted. Test: did a manual test in which I turned airplane mode off, observed that prior to the change, we tried 3 times, and after the change, only once. Also observed that when connection is successful, it works Ok the first time around (i.e. no regression). Bug: 31383107 Change-Id: If4d67ec0731767e0ac55476f592b0bd9f6657955
2016-07-20Close connection after MMS request if configured by carrierYe Wen
am: 44108eca8b Change-Id: I362b40a70dfdee9c7a598d62445d9dceb998972f
2016-07-19Close connection after MMS request if configured by carrierandroid-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-dr1-releaseYe Wen
b/29558615 Change-Id: I6ae922a3cfd5b342bffc22873173feaa65d61eaf
2016-06-06Wait for IPv4 provisioned when connecting to IPv4 MMS URL am: eeb364a1e8Ye Wen
am: 6183385d36 * commit '6183385d3665d329fae1022fe0b165b07b59d194': Change-Id: I0599e6e5e51d9ee0e37588d504d1446a8e5619d3
2016-06-06Wait for IPv4 provisioned when connecting to IPv4 MMS URL am: eeb364a1e8Ye Wen
am: 6987193d68 * commit '6987193d680fe7245b462f98656652e127599dc0': Wait for IPv4 provisioned when connecting to IPv4 MMS URL Change-Id: I21c0157a150cf7d1acffa3f3047e90318e5dab35
2016-06-06Wait for IPv4 provisioned when connecting to IPv4 MMS URLYe Wen
am: eeb364a1e8 * commit 'eeb364a1e8916609bee877b893443bd940ea87da': Wait for IPv4 provisioned when connecting to IPv4 MMS URL Change-Id: I4cfd00e1995cb3dc7e95e0acc10074b05b7ef202
2016-06-06Wait for IPv4 provisioned when connecting to IPv4 MMS URLandroid-n-mr1-preview-2android-n-mr1-preview-1Ye Wen
am: eeb364a1e8 * commit 'eeb364a1e8916609bee877b893443bd940ea87da': Wait for IPv4 provisioned when connecting to IPv4 MMS URL Change-Id: I7d97c32c93388ff75b49f23964993aa3cedfb75a
2016-06-03Wait for IPv4 provisioned when connecting to IPv4 MMS URLandroid-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr0.5-releasenougat-devnougat-cts-releasenougat-bugfix-releaseYe Wen
T-Mobile's MMS network is IPv6 based. Sometimes MMS URL is provisioned as static IPv4 address, e.g for "unrecognized" devices. In that case, IPv4 provisioning takes some time. MMS service needs to wait for it before making connection. b/27245530 Change-Id: I62e370a1e6abd668f0b1333664aadf87583045dd
2016-04-19Change to use Phone instead of PhoneBase/PhoneProxy am: fc9fe67Amit Mahajan
am: a65caac * commit 'a65caaca8a6a87d8835757a906e8d4fda43be4cf': Change-Id: I7064f4e6e98aad60c143cf2f7f29ebc1c12abcf9
2016-04-19Change to use Phone instead of PhoneBase/PhoneProxy am: fc9fe67Amit Mahajan
am: d591d22 * commit 'd591d226996a9962238794e94d55049c76b1c11a': Change to use Phone instead of PhoneBase/PhoneProxy Change-Id: Ib3d15170371bf76b2bff226bb681a3d755783433
2016-04-19Change to use Phone instead of PhoneBase/PhoneProxyAmit Mahajan
am: fc9fe67 * commit 'fc9fe6722792fef7afc32f07abebcf885ab65c7c': Change to use Phone instead of PhoneBase/PhoneProxy Change-Id: I53d82ded514d8611ab1d08122e66de933fe4012f
2016-04-19Change to use Phone instead of PhoneBase/PhoneProxyAmit Mahajan
am: fc9fe67 * commit 'fc9fe6722792fef7afc32f07abebcf885ab65c7c': Change to use Phone instead of PhoneBase/PhoneProxy Change-Id: I371076f8cc0564994ffd8824bc1a9b7330b5082e
2016-04-18Change to use Phone instead of PhoneBase/PhoneProxyAmit Mahajan
Bug: 26544841 Change-Id: I67f3f574313f0247874259894d5feef12276ce4c
2016-04-15Merge "Send MMS with international (no NANP) destination address in CDMA/GSM ↵Xia Ying
network" into nyc-dev am: be48240 * commit 'be482403b8d2a26ed01ca7c6c1f9883c8f945d4e': Send MMS with international (no NANP) destination address in CDMA/GSM network Change-Id: I7c9cf91aa5b24334445764669bac266f69b60cab
2016-04-15Merge "Send MMS with international (no NANP) destination address in CDMA/GSM ↵Shri Borde
network" into nyc-dev
2016-04-15MmsService should listen for ACTION_CARRIER_CONFIG_CHANGEDTom Taylor
am: 7d02fef * commit '7d02fefee5abf503dbf90b48ed9af2e951825517': MmsService should listen for ACTION_CARRIER_CONFIG_CHANGED Change-Id: Iecfd84ab73fcb6989d8f9d8e7e86ca01709bb8e6
2016-04-15MmsService should listen for ACTION_CARRIER_CONFIG_CHANGEDTom Taylor
Bug 28212282 MmsService needs to reload its config values when the carrier config changes. Change-Id: Ic919836fb53f1a4491e4e4de0cfb18864b057990
2016-04-14MmsConfigManager in MmsService uses wrong action name for ICC loaded intentTom Taylor
am: 646b805 * commit '646b805ac0ede377f9571676522294b511676c1d': MmsConfigManager in MmsService uses wrong action name for ICC loaded intent Change-Id: Ide2c8ea0c7b90918157ddd92f90ccb6d2ca58f21
2016-04-13MmsConfigManager in MmsService uses wrong action name for ICC loaded intentTom Taylor
Bug 28173750 The old code was not actually registering to listen to a real action. ACTION_SIM_STATE_CHANGED is the appropriate intent action that should cause the MmsConfigManager to reload the config values. Change-Id: Ia99a7332da288d92423fda1d19be21e7677ceefe
2016-03-18Send MMS with international (no NANP) destination address in CDMA/GSM networkXia Ying
Reuse SmsNumberUtils to covert the destination numbers per Verizon's requirement in MMSService before sending MMS. BUG=26294725 (Merged from https://partner-android-review.googlesource.com/#/c/538993/) Change-Id: I92080e06c223f5cd9db81800e4c13e7ec33421db
2016-03-03Merge "Adapt to carrier messaging service API change." into nyc-devJi Yang
2016-03-02Suppress blocks after sending MMS to emergency services.Abhijith Shastry
BUG: 26989170 Change-Id: Ibe6befb4e460767b78faf8b82f622c79401a28e9
2016-02-29Adapt to carrier messaging service API change.Ji Yang
BUG: 27292180 Change-Id: I0805f4e11b3cc24eb810a9da5fdbadd9567545c3
2016-01-26Unhiding MSIM APIs.Shishir Agrawal
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent APIs public. 2. Make MSIM API naming consistent (overloaded, no suffix). 3. Unhide APIs in SubscriptionManager that are necessary for MSIM. Bug: 26772894 Change-Id: I70622b020e6721fea1efd94bbbc5d1dc69980433
2015-10-20Clean up USER_OWNER in mmsXiaohui Chen
Bug: 25086442 Change-Id: Ic7c070f0c0cb83d0ebeef519618288a6c1f6c003
2015-10-07am 7109ffad: Catch exception for ConnectivityManager.unregisterNetworkCallbackYe Wen
* commit '7109ffadcf870446f6d606513ac6ca66b2ec83b4': Catch exception for ConnectivityManager.unregisterNetworkCallback
2015-10-06Catch exception for ConnectivityManager.unregisterNetworkCallbackandroid-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-iot-preview-2android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r17android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r41nougat-mr1-wear-releasen-iot-preview-2marshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-devYe Wen
It is possible ConnectivityManager.requestNetwork may fail silently due to RemoteException. When that happens, we may get an invalid NetworkCallback, which causes an IllegalArgumentexception when we try to unregisterNetworkCallback. This exception in turn causes MmsNetworkManager to skip the code to clean up states. Thus MMS service would get stuck in the bad state until the device restarts. This fix catches the exception so that state clean up can be executed. b/24306554 Change-Id: I3c0df8dab9af0f7a7f2e647b38f5df29177b7ff8
2015-09-17am c26d8195: Merge "Default MMS proxy port to 80 and don\'t skip if port is ↵Ye Wen
invalid" into mnc-dr-dev * commit 'c26d8195e22a474ecef0e15b9707fa398722a167': Default MMS proxy port to 80 and don't skip if port is invalid
2015-09-17am c2348f85: MMS proxy host dns lookup should happen on mms networkYe Wen
* commit 'c2348f85a918ec6846c3ce4957ae2cd5d69a1f33': MMS proxy host dns lookup should happen on mms network
2015-09-17Merge "Default MMS proxy port to 80 and don't skip if port is invalid" into ↵Ye Wen
mnc-dr-dev
2015-09-17Default MMS proxy port to 80 and don't skip if port is invalidYe Wen
b/24002396 Change-Id: I5de0774c3d1a15f9fb04e04213f8258fb26d1f3f (cherry picked from commit 66c0dcc93bf1e6d04b64a1dddf89ee2e3e9de7cc)
2015-09-17MMS proxy host dns lookup should happen on mms networkYe Wen
b/24071236 Change-Id: Ia34a66ce1a09276dab4e98b8ee0ab0fa819eea65
2015-09-14Default MMS proxy port to 80 and don't skip if port is invalidYe Wen
b/24002396 Change-Id: I5de0774c3d1a15f9fb04e04213f8258fb26d1f3f
2015-06-17Remove unused XML files.marshmallow-devJonathan Basseri
The content of these XML files was migrated to packages/apps/CarrierConfig and it is read through CarrierConfigManager now. Bug: 21085630 Change-Id: I837b6d9b72284b70e49fbd7693ca0e4624def25b
2015-06-17Broke the build. You also received a -2 from submit queue, which would have ↵Baligh Uddin
indicated the build breakage. Revert "Remove unused XML files." This reverts commit 526b2a1e7f00be7c1af76f58eeb70a2cf9199552. Change-Id: I023e931b237fdeaeee0135ed9a602289c895843d
2015-06-16Remove unused XML files.Jonathan Basseri
The content of these XML files was migrated to packages/apps/CarrierConfig and it is read through CarrierConfigManager now. Bug: 21085630 Change-Id: I0e06ee3dcb0af67224f62d698fb702e0402b08e3
2015-06-16Better logging for MmsServiceYe Wen
- Annotate most logging with request id - Added logging for IO exception when transferring downloaded PDU b/21701652 b/21815174 Change-Id: I98554219ae0b2bcfb4450b9e783bd634908b34e7
2015-06-12Read MMS config from CarrierConfigManager.Jonathan Basseri
This updates MmsConfigManager to get MMS config from CarrierConfigManager instead of mms_config.xml resource files. There should be no visible change in the public SmsManager API, which still exposes the same data in getCarrierConfigValues. This CL eliminates classes MmsConfigXmlParser, MmsConfig, and MmsConfig.Overridden. Bundles are used instead of MmsConfig objects, and the logic contained in Overridden was moved closer to where it is used. (e.g. HTTP param "macro" expansion) Bug: 21085630 Change-Id: Ia17ab3b19e88d5cdba755979481b4208759d7767
2015-05-20Mms service might use cleartext network traffic.Alex Klyubin
This declares that the Mms service might be using cleartext network traffic (e.g., HTTP instead of HTTPS). This CL does not change the behavior of the app. The flag added by this CL to the app's manifest will make it easier to identify apps that use cleartext traffic in the future. Bug: 19215516 Change-Id: I68b00e932ea99b708945c9165989dd9e09eaf855
2015-05-15Merge "Declare the unified BIND_CARRIER_SERVICES permission" into mnc-devZach Johnson
2015-05-15Declare the unified BIND_CARRIER_SERVICES permissionZach Johnson
BIND_CARRIER_MESSAGING_SERVICE has been deprecated. b/21165906 Change-Id: I5d9c2d8d275b251c25ef7703706ce1d93e89f7ed
2015-05-15Merge "Don't initiate duplicate mms network request" into mnc-devYe Wen
2015-05-13remove active sub ID check for mms downloadCheuksan Wang
mms download can happen long after mms notification. remove the active sub ID check until we can handle MVNO's with multiple sub ID's. BUG:20973889 Change-Id: I49184e70dd348bff7287f79eee29f09888e75e2a
2015-05-13Don't initiate duplicate mms network requestYe Wen
b/21111362 Change-Id: I1c02d64ca2f29f10937f7e91c6caadd5d16b6fd0
2015-05-05Merge "Merge commit '2dbe575' into master_merge" into mnc-devPrerepa Viswanadham
2015-05-01Merge commit '2dbe575' into master_mergePrerepa Viswanadham
2015-04-30Change bearer to bearer_bitmask.Amit Mahajan
Change-Id: I8f400a219a488f928817f801c2810d8e664dbd44
2015-04-24Merge "Fail SmsManager requests if SubId is not active." into m-wireless-devCheuksan Wang