Changes connection migration code to migrate on NetworkMadeDefault
instead of on SoonToDisconnect. The NetworkMadeDefault notification is supposed to always be issued before SoonToDisconnect, but there seems to be a bug in Android that causes the order to sometimes be reversed. Current connection migration looks for an alternate network on SoonToDisconnect, and this may not work since there may be no alternate networks around. Since NetworkMadeDefault guarantees that the new default network is around, this CL changes connection migration code to migrate on NetworkMadeDefault instead. BUG= Review-Url: https://codereview.chromium.org/2258893004 Cr-Commit-Position: refs/heads/master@{#413327}
Showing
This diff is collapsed.
Please register or sign in to comment