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

Issue 264973019: GetCurrentConnectionType (in NetworkChangeNotifier.java) gets actual connection type if the value i… (Closed)

Created:
6 years, 7 months ago by bolian
Modified:
6 years, 7 months ago
Reviewers:
bengr, Philippe
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

GetCurrentConnectionType (in NetworkChangeNotifier.java) gets actual connection type if the value is CONNECTION_UNKNOWN. BUG=370292 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269529

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments. #

Total comments: 4

Patch Set 3 : notify on initial connection type detection. #

Patch Set 4 : . #

Patch Set 5 : Always notify in updateCurrentConnectionType (like before). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/android/java/src/org/chromium/net/NetworkChangeNotifier.java View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
bolian
Hello, This CL makes getCurrentConnectionType try to get actual connection type when it is unknown. ...
6 years, 7 months ago (2014-05-06 01:40:57 UTC) #1
Yaron
yfriedman->pliard
6 years, 7 months ago (2014-05-06 03:35:55 UTC) #2
bengr
https://codereview.chromium.org/264973019/diff/1/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java File net/android/java/src/org/chromium/net/NetworkChangeNotifier.java (right): https://codereview.chromium.org/264973019/diff/1/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java#newcode80 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java:80: if (mCurrentConnectionType == CONNECTION_UNKNOWN) { nit: CONNECTION_UNKNOW == mCurrentConnectionType ...
6 years, 7 months ago (2014-05-06 17:16:34 UTC) #3
bolian
https://codereview.chromium.org/264973019/diff/1/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java File net/android/java/src/org/chromium/net/NetworkChangeNotifier.java (right): https://codereview.chromium.org/264973019/diff/1/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java#newcode80 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java:80: if (mCurrentConnectionType == CONNECTION_UNKNOWN) { On 2014/05/06 17:16:35, bengr1 ...
6 years, 7 months ago (2014-05-06 17:22:05 UTC) #4
bengr
lgtm
6 years, 7 months ago (2014-05-06 17:25:16 UTC) #5
bolian
Hi Philippe, Did you get a chance to look at this? We need this fix ...
6 years, 7 months ago (2014-05-06 23:03:45 UTC) #6
Philippe
Thanks Bolian, and sorry for the delay. See me comment below :) Also, are you ...
6 years, 7 months ago (2014-05-07 08:02:31 UTC) #7
bolian
Hi Philippe, Thanks for the reply. I was testing on Chrome, using my private build. ...
6 years, 7 months ago (2014-05-07 15:30:10 UTC) #8
Philippe
https://codereview.chromium.org/264973019/diff/20001/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java File net/android/java/src/org/chromium/net/NetworkChangeNotifier.java (right): https://codereview.chromium.org/264973019/diff/20001/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java#newcode81 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java:81: NetworkChangeNotifierAutoDetect autoDetector = On 2014/05/07 15:30:11, bolian wrote: > ...
6 years, 7 months ago (2014-05-07 15:33:20 UTC) #9
bolian
Thanks, I think this will better fix it. ptal https://codereview.chromium.org/264973019/diff/20001/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java File net/android/java/src/org/chromium/net/NetworkChangeNotifier.java (right): https://codereview.chromium.org/264973019/diff/20001/net/android/java/src/org/chromium/net/NetworkChangeNotifier.java#newcode81 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java:81: ...
6 years, 7 months ago (2014-05-07 21:03:57 UTC) #10
Philippe
On 2014/05/07 21:03:57, bolian wrote: > Thanks, I think this will better fix it. ptal ...
6 years, 7 months ago (2014-05-07 22:45:41 UTC) #11
bolian
The CQ bit was checked by bolian@chromium.org
6 years, 7 months ago (2014-05-07 22:55:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bolian@chromium.org/264973019/60001
6 years, 7 months ago (2014-05-07 22:56:55 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 04:18:08 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 04:47:07 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium
6 years, 7 months ago (2014-05-08 04:47:08 UTC) #16
bolian
The CQ bit was checked by bolian@chromium.org
6 years, 7 months ago (2014-05-08 17:10:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bolian@chromium.org/264973019/60001
6 years, 7 months ago (2014-05-08 17:11:48 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 22:37:18 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 00:08:21 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152427)
6 years, 7 months ago (2014-05-09 00:08:22 UTC) #21
bolian
The CQ bit was checked by bolian@chromium.org
6 years, 7 months ago (2014-05-09 07:16:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bolian@chromium.org/264973019/60001
6 years, 7 months ago (2014-05-09 07:18:06 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 08:56:27 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 10:22:45 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152542)
6 years, 7 months ago (2014-05-09 10:22:47 UTC) #26
bolian
The CQ bit was checked by bolian@chromium.org
6 years, 7 months ago (2014-05-09 16:42:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bolian@chromium.org/264973019/60001
6 years, 7 months ago (2014-05-09 16:43:10 UTC) #28
bolian
Looks like the expectation was the updateCurrentConnectionType should always notify observer even connection type is ...
6 years, 7 months ago (2014-05-09 17:43:44 UTC) #29
bolian
The CQ bit was checked by bolian@chromium.org
6 years, 7 months ago (2014-05-09 17:43:54 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bolian@chromium.org/264973019/80001
6 years, 7 months ago (2014-05-09 17:45:55 UTC) #31
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 04:49:39 UTC) #32
Message was sent while issue was closed.
Change committed as 269529

Powered by Google App Engine
This is Rietveld 408576698