Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Issue 1655313005: Remove the network with empty name or NONE connection type from the network list. (Closed)

Created:
4 years, 10 months ago by honghaiz3
Modified:
4 years, 10 months ago
Reviewers:
AlexG, pthatcher1
CC:
webrtc-reviews_webrtc.org, pthatcher1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove the network with empty name or NONE connection type from the network list. In some device (e.g. Galaxy s6), the OS returns a list of network containing one that has empty network name or NONE connection type, which cannot be used and cause crash to the app. BUG= Committed: https://crrev.com/9031d6366f281de69e750c77063622e349c8cb03 Cr-Commit-Position: refs/heads/master@{#11482}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -10 lines) Patch
M talk/app/webrtc/java/android/org/webrtc/NetworkMonitor.java View 1 2 chunks +6 lines, -2 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java View 1 3 chunks +14 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
honghaiz3
4 years, 10 months ago (2016-02-03 22:10:41 UTC) #3
pthatcher1
lgtm Land if it's urgent, but then follow up by adding a unit test. Also, ...
4 years, 10 months ago (2016-02-03 22:28:57 UTC) #5
AlexG
https://codereview.webrtc.org/1655313005/diff/1/talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java File talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java (right): https://codereview.webrtc.org/1655313005/diff/1/talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java#newcode240 talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java:240: NetworkInformation[] getActiveNetworkList() { May be return List<NetworkInformation> from this ...
4 years, 10 months ago (2016-02-03 22:35:28 UTC) #6
AlexG
lgtm
4 years, 10 months ago (2016-02-03 22:35:53 UTC) #7
honghaiz3
On 2016/02/03 22:28:57, pthatcher1 wrote: > lgtm > > Land if it's urgent, but then ...
4 years, 10 months ago (2016-02-03 23:30:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1655313005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1655313005/20001
4 years, 10 months ago (2016-02-04 04:42:32 UTC) #11
honghaiz3
https://codereview.webrtc.org/1655313005/diff/1/talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java File talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java (right): https://codereview.webrtc.org/1655313005/diff/1/talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java#newcode240 talk/app/webrtc/java/android/org/webrtc/NetworkMonitorAutoDetect.java:240: NetworkInformation[] getActiveNetworkList() { On 2016/02/03 22:35:27, AlexG wrote: > ...
4 years, 10 months ago (2016-02-04 04:43:29 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-04 05:45:29 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9031d6366f281de69e750c77063622e349c8cb03 Cr-Commit-Position: refs/heads/master@{#11482}
4 years, 10 months ago (2016-02-04 05:45:36 UTC) #16
honghaiz3
4 years, 10 months ago (2016-02-04 06:05:32 UTC) #17
Message was sent while issue was closed.
On 2016/02/03 22:28:57, pthatcher1 wrote:
> lgtm
> 
> Land if it's urgent, but then follow up by adding a unit test.  
> 
> Also, should we do a check like this lower down in the stack?

Will add tests in a separate CL.

Powered by Google App Engine
This is Rietveld 408576698