summaryrefslogtreecommitdiff
path: root/java/com/android/voicemail/impl/sync
Commit message (Collapse)AuthorAgeFilesLines
* Wait for IPv4 before sending VVM requests.Wei He2021-06-012-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Precondition to reproduce: - Attached to a network where IPv6 arrives before IPv4 - WiFi is On - Mobile always-on is Disabled (that's default setting) - VVM server is IPV4 only What happened: - VVM sync failed with DATA_CANNOT_RESOLVE_HOST_ON_NETWORK Root Cause: - With above precondition, there will be >50% possibility that when App requests Cellular Data Network, IPV6 address will be reported a few millis before IPV4. This is causing the App to try using IPV6 address (when IPV6 comes first) to query the VVM Server DNS and as the VVM Server is an IPv4 one, it's possible to stabilish a route. Solution: - When App requests Cellular Data Network, if IPV6 network address arrives first, just wait up to 0.5 sec to do DNS query, so we're sure there's enough time to IPv4 address to be available. Bug: 183967989 Change-Id: I8af48b71ec9d6699f604a9db87bb0a77fa4379ca
* Remove redundant @TargetApi, @RequiresApi and @SuppressWarningslinyuh2018-06-282-4/+0
| | | | | | Test: Existing tests PiperOrigin-RevId: 202589482 Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f
* Increase minSdk to 24.calderwoodra2018-03-261-1/+1
| | | | | | | | | | | | | | | | Manually set to M - MissedCallNotifierTest (not sure what the issue is here...) - CallLogGroupBuilderTest (because a check was removed, some NPEs are thrown) - MainSearchControllerTest (/system/etc/fonts.xml (No such file or directory)) Ignore Tests - a few random ones in incallui/answer/impl/hint (shared prefs aren't working for some reason) - VisualVoicemailUpdateTaskTest (disabled the whole test, issue unclear) Bug: 73902692 Test: tap PiperOrigin-RevId: 190030202 Change-Id: I1e9b61d758a61582c5a183ee884dd2181d1c10de
* Prevent VvmNetworkRequestCallback from releasing twicetwyen2018-01-251-5/+11
| | | | | | | | | It is unclear from the docs or implementation what callbacks are invoked when the network is lost, or does the system release the callback for us somewhere else. In this CL VvmNetworkRequestCallback.releaseNetwork() will be guarded from calling twice, and log levels for callbacks are raised. Bug: 64243619 Test: N/A, repro steps unknown. PiperOrigin-RevId: 183298754 Change-Id: I5e589b2b59478b270890056fa08abb306ee1600c
* Remove field prefixes.linyuh2017-12-277-126/+124
| | | | | | Test: Existing tests PiperOrigin-RevId: 180230450 Change-Id: I0b2589cfeeaef81e42a04efa48af24b4e4d0e95f
* Move voicemail settings to dialer UIZachary Heidepriem2017-11-061-11/+6
| | | | | | | | | The voicemail module should not contain any UI code. Bug: 37258159 Test: DialerSettingsActivityTest,VoicemailSettingsFragmentTest. A future CL is refactoring VoicemailChangePinActivity into a fragment. PiperOrigin-RevId: 174125949 Change-Id: I89cf6a083b0a0952332440d76e7ae0cb1c801931
* Move the functionality of ↵linyuh2017-10-271-4/+2
| | | | | | | | | DialerUtils#getDefaultSharedPreferenceForDeviceProtectedStorageContext(Context) to StorageComponent. Bug: 30224215 Test: none PiperOrigin-RevId: 173612463 Change-Id: Ia89d5d85c31ea2114b196393ae43b803023fc9bf
* Rename the new bubble package name from "bubble" to "newbubble".Eric Erfanian2017-10-243-3/+3
| | | | | | | | It fixes AOSP for package name conflict. Test: manual PiperOrigin-RevId: 173298696 Change-Id: Id10ebe0bcf029e61f65cf6580c7198abd8395081
* Update Dialer source to latest internal Google revision.Eric Erfanian2017-08-318-117/+112
| | | | | | | | | | | | | | | | | | Previously, Android's Dialer app was developed in an internal Google source control system and only exported to public during AOSP drops. The Dialer team is now switching to a public development model similar to the telephony team. This CL represents all internal Google changes that were committed to Dialer between the public O release and today's tip of tree on internal master. This CL squashes those changes into a single commit. In subsequent changes, changes will be exported on a per-commit basis. Test: make, flash install, run Merged-In: I45270eaa8ce732d71a1bd84b08c7fa0e99af3160 Change-Id: I529aaeb88535b9533c0ae4ef4e6c1222d4e0f1c8 PiperOrigin-RevId: 167068436
* Update Dialer to v10 RC45.Eric Erfanian2017-05-311-1/+3
| | | | | | | | | | | | | | | | | | | | This release was created following the instructions at: go/dialer-aosp-release Subsequent dialer releases will follow as O bugs are fixed, until we reach our final RC. Version: 10 Candidate: RC45 Branch: dialer-android_release_branch/153304843.1 dialer-android_20170416.00/dialer-android_20170416.00_RC45 This release contains the following bug fixes since RC39: Bug: 38131932 38302993 38347350 38368993 38395481 62100344 Test: make, on device Change-Id: Ib4af5dcc58c684d51ea1f4628b301e40184b81b3
* Update Dialer to V10 RC16Eric Erfanian2017-05-045-38/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release was created following the instructions at: go/dialer-aosp-release Subsequent dialer releases will follow as O bugs are fixed, until we reach our final RC. Version: 10 Candidate: RC16 Branch: dialer-android_release_branch/153304843.1 dialer-android/dialer-android_20170416.00/dialer-android_20170416.00_RC16 This release contains the following bug fixes since RC00: Bug: 37324705 35304403 36067503 35304446 33203808 37280992 37346084 35766990 37481880 37424493 36470282 37347691 37519015 37168472 35805360 37545472 27704934 36515614 35766990 37577470 34739750 35801628 36788693 35264204 36708536 37628370 36904650 37314436 37642171 37530847 37637799 37666625 37548549 37648036 37636412 37323529 37630507 35919141 37198343 37548572 36178218 37640315 37663896 37720467 37275944 37710497 31634477 37744796 37348506 37744796 37568534 37672424 34872683 34873026 37681461 34873295 37748373 37526812 37618638 37663896 37536088 37727455 37165687 36651204 36900708 37323529 36902926 37256480 37328353 37432034 37436952 34093562 37720889 37321935 37780300 37781115 37755902 36588206 34258266 37290464 37698062 37618638 37473004 37432034 37918676 37870494 37722091 Test: make, on device Change-Id: I99e1a484ccd578c1f8a13e7a6a4b4952f0791297
* This change reflects the Dialer V10 RC00 branch.Eric Erfanian2017-05-035-40/+74
| | | | | | | | | | | | | | | | | | | | RC00 is based on: branch: dialer-android_release_branch/153304843.1 synced to: 153304843 following the instructions at go/dialer-aosp-release. In this release: * Removes final apache sources. * Uses native lite compilation. More drops will follow with subsequent release candidates until we reach our final v10 release, in cadence with our prebuilt drops. Test: TreeHugger, on device Change-Id: Ic9684057230f9b579c777820c746cd21bf45ec0f
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-04-063-9/+59
| | | | | | | | | | | | | | | | | | | cl/152373142. Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/151342913 (3/27/2017) to cl/152373142 (4/06/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: I2fbc88cf6867b90ac8b65f75e5e34468988c7217
* Update AOSP Dialer source from internal google3 repository atEric Erfanian2017-03-272-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | cl/151128062 Test: make, treehugger This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from cl/150756069 (3/21/2017) to cl/151128062 (3/24/2017). Notable this release: - Explicitly enumerate host and target dependencies. - Update proguard flag references. This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Bug: 33210202 36511925 Addresses 33210202 - Proguard support 36511925 - Compiler warnings when building against platform sdk Change-Id: I448ec3b3f2358886859cf7a4ef76a8fcef3244ae
* Update AOSP Dialer source from internal google3 repository at cl/150392808Eric Erfanian2017-03-174-3/+16
| | | | | | | | | | | | | | | | | | | | | | Test: Treehugger Notable this release: * Reintroduce localization. This CL updates the AOSP Dialer source with all the changes that have gone into the private google3 repository. This includes all the changes from 3/15/2017 to cl/150392808 (3/16/2017). This goal of these drops is to keep the AOSP source in sync with the internal google3 repository. Currently these sync are done by hand with very minor modifications to the internal source code. See the Android.mk file for list of modifications. Our current goal is to do frequent drops (daily if possible) and eventually switched to an automated process. Change-Id: Ia16d68469c2ca1ff42c7fa31d922bdb78c4e244a
* Revert "Update dialer to tap green cl 150332012."Sailesh Nepal2017-03-162-4/+3
| | | | | | This reverts commit 1019500220518fb5fb023fcb7d370ab3cbf12307. Change-Id: Ie6e4f81a995fca7345132b596521b0bd06ceffb9
* Update dialer to tap green cl 150332012.Eric Erfanian2017-03-162-3/+4
| | | | | Test: Treehugger Change-Id: If2baab1d3fc2dee602a4f784bba532182e7174f5
* Update Dialer source from latest green build.Eric Erfanian2017-03-1511-0/+1446
* Refactor voicemail component * Add new enriched calling components Test: treehugger, manual aosp testing Change-Id: I521a0f86327d4b42e14d93927c7d613044ed5942