commit | fda3f200f5e4ba9e7748bbab5acbba1b4c484366 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Thu Apr 18 10:36:16 2019 -0700 |
committer | Roshan Pius <rpius@google.com> | Mon Apr 22 15:54:28 2019 -0700 |
tree | bdeb617786795647d385a4a7fd096caf93482a02 | |
parent | 08d8b3d5b1bd9bab51e46de1d8d03f2849f73184 [diff] |
WifiController: Minor cleanups a) Location mode check should use LocationManager.isLocationEnabled() API. The previously used global setting has been deprecated. b) Remove unused mNetworkInfo variable & stop listening to NETWORK_STATE_CHANGED broadcast that was used to update mNetworkInfo. Bug: 130766132 Test: Device boots & connects to wifi network. Test: Regression testing. Change-Id: I173f66fa408267c0912aff6fda16993880c8d141