diff options
author | Sticky Chen <sticky.chen@mediatek.com> | 2019-02-11 14:31:22 +0800 |
---|---|---|
committer | Wang Han <416810799@qq.com> | 2019-06-09 15:25:13 +0800 |
commit | f2bc1367496c0c168fa75df9204a0c0886a4981a (patch) | |
tree | 7ce34c06b8c8ce0978e8c776043d98f95e49c1d5 /service/java/com/android/server/wifi/WifiConfigStore.java | |
parent | b68d3d8880d7cf9f68443bffc6b286bbf36607e7 (diff) | |
download | android_frameworks_opt_net_wifi-f2bc1367496c0c168fa75df9204a0c0886a4981a.tar.gz android_frameworks_opt_net_wifi-f2bc1367496c0c168fa75df9204a0c0886a4981a.tar.bz2 android_frameworks_opt_net_wifi-f2bc1367496c0c168fa75df9204a0c0886a4981a.zip |
Prevent scan searching overhead
If user connects to a AP but supplicant fails to
connect it successfully, supplicant will trigger
periodical scan to search the AP. The searching
scan brings redudant power consumption under
screen off.
To prevent the overhead, we remove networks to
supplicant before starting PNO scan.
Test: Connect to a nonexistent AP, screen off and
make sure there is no searching scan triggered by
supplicant.
Bug: 124281812
Change-Id: I4a0e99ea1df4fee0b0e3157ed0b82bc83d379765
Diffstat (limited to 'service/java/com/android/server/wifi/WifiConfigStore.java')
0 files changed, 0 insertions, 0 deletions