summaryrefslogtreecommitdiff
path: root/java/com/android/voicemail/impl/sync/VvmNetworkRequestCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* Wait for IPv4 before sending VVM requests.Wei He2021-06-011-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-271-37/+35
| | | | | | Test: Existing tests PiperOrigin-RevId: 180230450 Change-Id: I0b2589cfeeaef81e42a04efa48af24b4e4d0e95f
* Rename the new bubble package name from "bubble" to "newbubble".Eric Erfanian2017-10-241-1/+1
| | | | | | | | 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-311-1/+1
| | | | | | | | | | | | | | | | | | 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 source from latest green build.Eric Erfanian2017-03-151-0/+183
* Refactor voicemail component * Add new enriched calling components Test: treehugger, manual aosp testing Change-Id: I521a0f86327d4b42e14d93927c7d613044ed5942