commit | 061f4159dca9b68f0315d725a945af9736dde62f | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Sep 28 16:08:06 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Mon Sep 29 20:15:33 2014 +0900 |
tree | 251fdf9bbdd117808638b3d59cf68e02a45abaf9 | |
parent | 208678718f9f8db3bc279c7d5bd1445af2831ae3 [diff] |
Update LegacyTypeTracker state before sending connect broadcasts. Currently, LegacyTypeTracker sends out connected broadcasts before updating its internal lists of networks. This creates a race condition where an app can query LegacyTypeTracker state (e.g., via getActiveNetworkInfo) as soon as it gets the broadcast, and get information that has not been updated. Bug: 17540101 Change-Id: Iefd6d5e9fd0b427c5872166208831f70fcef8b6f