summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-05Snap for 5987146 from 1e52197fd0e3d96d0e64cdc109850915e7bbd08c to ↵android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid-build-team Robot
qt-qpr2-release Change-Id: I1110d51402dd5eae65cf478e094ff52d80308340
2019-11-01Send to carrier messaging service when data disabledandroid-mainline-10.0.0_r9android-mainline-10.0.0_r10android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-mainline-media-releaseLeland Miller
Carrier messaging services may have alternate ways to deal with the request, so we should delegate handling the request to a carrier messaging service regardless of whether we have data switched on for an APN. Merged-in: I48c11b86bf174a58f594ccf1b0e6169380502d95 Change-Id: I48c11b86bf174a58f594ccf1b0e6169380502d95 Test: Manually verified Bug: 135751024
2019-08-15Make NETWORK_REQUEST_TIMEOUT_MILLIS configurableandroid-mainline-10.0.0_r7android-mainline-10.0.0_r5android-mainline-10.0.0_r4android10-qpr1-mainline-releaseLeland Miller
am: bd1e9664fc Change-Id: Ia37ee3a6f8b5e6aa7d7bae76adb4e16e55e6968a
2019-08-15Make NETWORK_REQUEST_TIMEOUT_MILLIS configurableLeland Miller
This will allow us to reduce the timeout without widespread risk and with the ability to rollback. Test: Manually verified MMS works, timeout is configurable, and timeout defaults to 30 minutes Bug: 134966928 Change-Id: I801a9fb3549f745314356212c2653584068815b7 Merged-In: I801a9fb3549f745314356212c2653584068815b7
2019-05-23Merge "To prevent MMS get the incorrect resource on MSIM device" into qt-devCalvin Pan
am: 9f67590d1b Change-Id: I5bb0f6d1f4d66024fc55f358e2c426a12a8a5383
2019-05-23Merge "To prevent MMS get the incorrect resource on MSIM device" into qt-devandroid10-devCalvin Pan
2019-05-17Set read timeout to prevent stuck in HTTP IOcalvinpan
am: 9c292c6fc6 Change-Id: I5db859133d35616d2ef4f0b0188212bae47e7002
2019-05-17Set read timeout to prevent stuck in HTTP IOcalvinpan
Set read timeout to prevent stuck in HTTP IO Bug: 125013369 Test: Pass the stress test in the b/125013369#comment39 Change-Id: I992fbbcf73586ae0ecf8c423e697aaf30a022d7d
2019-04-30Make MMS service raise intent on DSDS non-data SIMSahin Caliskan
This change makes it so that if the user wants to send or receive MMS on a dual-SIM dual-standby device on the non-default-data-SIM, an intent is raised to the settings app. Test: tested manually using logs - this package doesn't have any testing setup unfortunately (b/33250218) Bug: 128542685 Change-Id: I5e79660dafb039933ce3a2f1d703400eaf7e648c
2019-04-29To prevent MMS get the incorrect resource on MSIM devicecalvinpan
Get TelephonyManager with subid to prevent getting the incorrect resource(MMS_CONFIG_USER_AGENT and MMS_CONFIG_UA_PROF_URL) on MSIM device. Bug: 131296413 Test: Build pass. Change-Id: I3c51d6e2882596be6dcf660d6903b2cb3e96a6c9
2019-04-12Fix crash when UaProfUrlTagName is nullSahin Caliskan
This change fixes a silent MMS lib crash when the UaProfUrlTagName is empty. Test: Tested manually by modifying the configs and using temporary log lines Bug: 128510421 Change-Id: I3500a5988d1b50e79599846cce641ec3bca923ca (cherry picked from commit d7bdbde7a3b103589c1915e3333e66f998a3bfac)
2019-04-01Fix always using carrier package on DSDSSahin Caliskan
This change makes it so that we actually get the carrier package associated with the subscription instead of just sending the MMS over the default package. Test: tested manually Bug: 120850686 Change-Id: Ia05be70af7f42f35aaf68204bdaf9940da0919af
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospXin Li
am: 93f043db42 Change-Id: Ib754afeec7d93105074a9db7149aa13a84cd4c42
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospXin Li
Bug: 126125118 Change-Id: Ie0bc8be1cac760bc5b193000262f08025755bf6c
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: I13065b101b061902f2c12648121a4fce276d7c68
2019-02-11[automerger skipped] Revert "DO NOT MERGE Use original country locale to ↵Allen Su
parse phone number without country code." am: ef041cba70 -s ours am skip reason: subject contains skip directive Change-Id: Ia2aa3528b8a7e2b1aa998dbfc75e34949c955c74
2019-02-10Revert "DO NOT MERGE Use original country locale to parse phone number ↵Allen Su
without country code." This reverts commit 7c6cd836e280a748cea480ea4a1b480319922db5. Reason for revert: pixel only Change-Id: I3e7deedad1335a3c59daac855559800484227d9b
2019-02-10[automerger skipped] DO NOT MERGE Use original country locale to parse phone ↵Hotice Hsu
number without country code. am: 1f4477d330 am: 7c6cd836e2 -s ours am skip reason: subject contains skip directive Change-Id: If6dac67de39b82281e29eb7d3dd163d663c28184
2019-02-10DO NOT MERGE Use original country locale to parse phone number without ↵Hotice Hsu
country code. am: 1f4477d330 Change-Id: I642ab12992cc85b948c0c5feef4f86cdd5b6b090
2019-02-04Remove usage infoChad Brubaker
Test: checkbuild Bug: 123699931 Change-Id: I1adf60c3667ea88c296fc06807ac22b2ddf0e226
2019-01-31DO NOT MERGE Use original country locale to parse phone number without ↵android-9.0.0_r47android-9.0.0_r45android-9.0.0_r42pie-qpr3-b-releaseHotice Hsu
country code. The issues happens when CDMA is roaming to GSM, some US operator's mcc/mnc would change to 204/04 whose country belongs to NL not US. It doesn't always change but error occurs once changed. MMSService would check if locale matches with phoneNumber. The error results in HTTP header bringing incorrect MDN to server. In Q, AOSP fixes it by using CarrierConfig to enforce 'US' as iso-country for all error scenarios. Since the change is great, migrating all the patches to P for the time being is risky. So, we use the same CarrierConfig as Q and narrow the range to MMS only. That's why we use "DO NOT MERGE". Bug: 120448454 Bug: 122332763 Test: Manual: Build pass and MMS sending works. Change-Id: Idc01d9dd2b139ed0263d499e42afdd66dbef64c0
2019-01-28Wake up all MMS requests when wait timeout is expired am: cff7167a71 am: ↵Taesu Lee
e8bc68602c am: 620e28e977 Change-Id: Iad3a594bad87f69fa82d54e7aa924ae28ff1c873
2019-01-28Wake up all MMS requests when wait timeout is expired am: cff7167a71Taesu Lee
am: e8bc68602c Change-Id: Iaae0f30c0f019f46828e4144b45cc63984aa1dd6
2019-01-28Wake up all MMS requests when wait timeout is expiredTaesu Lee
am: cff7167a71 Change-Id: I319ec38ff5c1f255cbd29f4230a12115c097bc39
2019-01-23Wake up all MMS requests when wait timeout is expiredandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.10Taesu Lee
It wakes up all MMS requests when wait timeout is expired for - fixing releasing wrong network request. - removal unnecessary waiting. - fast-fail together. Issue will happen in below circumstance. 1. Start a new MMS network request(A). - mMmsRequestCount = 1 2. Start another MMS network request(B) before MMS network is available. - mMmsRequestCount = 2 3. Wait timeout for A is expired first. - Release the current MMS network request even if B is expecting the MMS network. - mMmsRequestCount = 0 4. Start a new MMS network request(C) before timeout for B. - mMmsRequestCount = 1 5. Wait timeout for B is expired before MMS network is available. - Release the current MMS network request but it is for C. - mMmsRequestCount = 0 - C is still waiting for remaining timeout without any active network request. Test: Manual Change-Id: I080711a8904ac15c9b89c7bda03042e8eb80689a Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2019-01-09Convert Android.mk file to Android.bp am: c8445fa587 am: f3c33b5980Sasha Smundak
am: c9ea83f39b Change-Id: I5ec16d10cdf374d4581ff1117c3ba043efa0abc7
2019-01-09Convert Android.mk file to Android.bp am: c8445fa587Sasha Smundak
am: f3c33b5980 Change-Id: I9218740b8f85d7235c96031ff294dc5db8ce52c9
2019-01-09Convert Android.mk file to Android.bpSasha Smundak
am: c8445fa587 Change-Id: I748e67e1de6b7d2d143140274ff6da06a1ea2183
2019-01-09Convert Android.mk file to Android.bpSasha Smundak
See build/soong/README.md for more information. Change-Id: Idafc202a384d6d9f88a098b9e8f953769fbf2f92 Fixes: 122333681 Test: treehugger
2018-12-06Updating AndroidManifest to include data usage information required forStephanie Shi
Android Q. Change-Id: Id71a3c08f9ec600487c2d4de19b207c7fc43e330 Fixes: 120498149 Test: Build and install Android Q, make sure phone successfully boots.
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: bf5d23fe77 -s ours am: 0d4abf1fc6 -s ours am: 8c77e2a409 -s ours Change-Id: I62972c771f751bea7874c486106a4e3718b55bce
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT ↵Bill Yi
MERGE am: bf5d23fe77 -s ours am: 0d4abf1fc6 -s ours Change-Id: I466f1e7d8fb63a1f2eaf4e6dc2079375547d5d71
2018-10-24[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGEBill Yi
am: bf5d23fe77 -s ours Change-Id: I9c895b8fc98dd35a4928cf9b6a720abafd758c4d
2018-10-24Merge pie-platform-release to aosp-master - DO NOT MERGEandroid-wear-8.0.0_r2android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7android-n-iot-release-ihome-igv1nougat-iot-releaseBill Yi
Change-Id: I13c87bacf217b4bafff13cecb3d75c7b5029e2be
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: 873bdcb732 -s ours am: afcd876cc9 -s ours Change-Id: I7711c869e745e85dbc37fa03d286e61f0f0b0f9c
2018-10-24[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT ↵Bill Yi
MERGE am: 873bdcb732 -s ours Change-Id: I192f38dd7e9c45e1dbca12e46cf5f0b80d026ab8
2018-10-24Merge pi-platform-release to stage-aosp-master - DO NOT MERGEBill Yi
Change-Id: I81811e8c0e9da73d03614cad7a4e7e6340c06803
2018-10-04Remove unnecessary dependency on okhttp am: 7b6bf69027 am: 27d5488683Neil Fuller
am: cb93042080 Change-Id: I3fe5972f52a156873d15e58dd4586ce733cfe91f
2018-10-04Remove unnecessary dependency on okhttp am: 7b6bf69027Neil Fuller
am: 27d5488683 Change-Id: I6aecda1d86a69f7e4782a8b4e4c935ed875386f0
2018-10-04Remove unnecessary dependency on okhttpNeil Fuller
am: 7b6bf69027 Change-Id: I743e7e20947c78595025cffdb1341537ec514cd6
2018-10-02Remove unnecessary dependency on okhttpandroid-o-mr1-iot-release-smart-display-r3oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseNeil Fuller
Nothing in this target needs okhttp. Bug: 113148576 Test: build Change-Id: Id1dd5454e1e0cf3cfa97cbb60599badd08568f39
2018-09-13Remove ResolvUtil dependency am: b169029286 am: 68d904be99Erik Kline
am: af313966cf Change-Id: Ibb9ef0413d7c44d8149c65a25f767ccd628d4957
2018-09-13Remove ResolvUtil dependency am: b169029286Erik Kline
am: 68d904be99 Change-Id: I1152cc7c60d037c57da59a078aa4dc4c38925c87
2018-09-13Remove ResolvUtil dependencyErik Kline
am: b169029286 Change-Id: Id3728ce04cb28e6a0c72dcd0e6033ca2a6f317e5
2018-09-12Remove ResolvUtil dependencyandroid-o-mr1-iot-release-1.0.5Erik Kline
The functionality was moved into Network in aosp/674269. Test: as follows - built, flashed, booted - runtest frameworks-net passes - presubmit Bug: 64133961 Bug: 72345192 Bug: 73872000 Bug: 78548486 Change-Id: I47d793da72cf891418d6a72f389a2cf6c11d66fd
2018-05-09Bypass private DNS for Mms am: 59cd8efa86 am: 6f053ce74eRemi NGUYEN VAN
am: 389e465876 Change-Id: I10fdfb3e8012132117c9cab5c4276da95c09e9b5
2018-05-09Bypass private DNS for Mms am: 59cd8efa86android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3Remi NGUYEN VAN
am: 6f053ce74e Change-Id: I6fcb9cc27f28c6933d36da216233d04340c0d53f
2018-05-09Bypass private DNS for MmsRemi NGUYEN VAN
am: 59cd8efa86 Change-Id: Id3c94f5c90537e7c89979d42f5dd976019e9552e
2018-05-08Bypass private DNS for Mmsandroid-p-preview-5android-p-preview-4android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1Remi NGUYEN VAN
Bug: b/78601698 Bug: b/78494660 Test: manual: MMS sending works (clean cherry-pick from I1e3e0ba21d17108cf9c898e28137010492dc306b) Change-Id: Ic18f68f2e6086c9706b5013f41454246c06c93bc
2018-05-02Snap for 4756844 from 2a83a312bd4a0b1996a40351beb61f0620d7d9d1 to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-cts-releaseandroid-build-team Robot
Change-Id: Ia2e68d8d5376fc011ace946b3dc222fc47de186e