commit | a639528a434e7138dac7229c5294c9954aa88444 | [log] [tgz] |
---|---|---|
author | Byoungchan Lee <daniel.l@hpcnt.com> | Fri Dec 02 10:52:08 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 02 13:37:27 2022 |
tree | 5a2a8922b9c967380152182a771a3d5ef5c95465 | |
parent | c8157c33b42d79ec41196592ed0c4aa6610058c2 [diff] |
Fix AndroidNetworkMonitorTests crash due to DCHECK failure AndroidNetworkMonitor::SetNetworkInfos assumes this method is called only once, but unittests calls it twice. One is called by the startMonitoring Java method, and the other is called by each test. Because of this, these tests will not succeed if dcheck_always_on is true. To solve this problem, use OnNetworkConnected_n instead of SetNetworkInfos in each test. Bug: None Change-Id: I027706ad5ccd597a91e3a66f15e181ee22d4aaa9 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/285861 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com> Cr-Commit-Position: refs/heads/main@{#38798}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.