commit | 520d6dc47145dd4e0740a3fc35a5fa14fbaef74f | [log] [tgz] |
---|---|---|
author | Robert Greenwalt <rgreenwalt@google.com> | Wed Jun 25 16:45:57 2014 -0700 |
committer | Robert Greenwalt <rgreenwalt@google.com> | Wed Jul 02 09:26:43 2014 -0700 |
tree | b5a4351f2d47719b349d92c3f8515486f86066af | |
parent | bb427685db7a04ec2829c67cf7e3e2a3288a1811 [diff] |
Simplify the network transition wakelock. Make it all internal to ConnectivityService - we know when a network is lost, so grab a wakelock then. Moves the call out of WifiStateMachine which was grabbing at bad times like every dhcp renewal or corp-network roam. These would always go the full 1 minute and chew up battery. bug:15595155 Change-Id: I80157a818cc149072cc7706d78c1e79c6e679ab3