commit | 796b2dbaf0c471a2e16c9c21651a4ffc94f00cc9 | [log] [tgz] |
---|---|---|
author | David Su <dysu@google.com> | Tue Nov 20 10:19:30 2018 -0800 |
committer | David Su <dysu@google.com> | Fri Dec 14 09:49:09 2018 -0800 |
tree | 91350a75e806f5943a1ab64a585971989d9ee8df | |
parent | 66f04be168a9329622e1f40e33e2ba180d69b5ab [diff] |
Scan Optimization: expose API to update device mobility state Exposed API in WifiManager to allow device mobility state to be updated, so that Wifi scan interval can be increased when the device is stationary in order to save power. Also added a new permission to protect this API from being used by unauthorized applications. Bug: 120097108 Test: Call new API method using test app Change-Id: Iee59dba711c23add5d4b2affafeac2c009407c7f