diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2013-06-25 11:41:53 -0700 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2013-06-26 10:00:16 -0700 |
commit | 89710842585404ea33f941afeb2c321e706005e9 (patch) | |
tree | 57ea04ccced78eafbef023fc8ae556904393808a /core | |
parent | f285a709157b16ed970573988dec603dde89cb11 (diff) | |
download | frameworks_base-89710842585404ea33f941afeb2c321e706005e9.zip frameworks_base-89710842585404ea33f941afeb2c321e706005e9.tar.gz frameworks_base-89710842585404ea33f941afeb2c321e706005e9.tar.bz2 |
Fix power issues around wifi scans.
- Sending a broadcast indicating when scan requests could be serviced so that
apps don't request scans we won't do anything with.
- Fix our batt stats accounting so we only count it if we send the request to
the driver.
bug: 8868201
bug: 9496690
Change-Id: I64a4f1c294c848ac64c50d8854ed4a6a1a47f603
Diffstat (limited to 'core')
-rw-r--r-- | core/res/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 86e0a2c..4aa540a 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -156,6 +156,7 @@ <protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" /> <protected-broadcast android:name="android.net.wifi.WIFI_STATE_CHANGED" /> <protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" /> + <protected-broadcast android:name="android.net.wifi.WIFI_SCAN_AVAILABLE" /> <protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" /> <protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" /> <protected-broadcast android:name="android.net.wifi.STATE_CHANGE" /> |