WifiScanningService: Don't cache results of partial scan

These partial scan requests are initiated by the wifi stack when
connected to a network for network selection purposes. This might
interfere with full scan requests made by external apps. So, don't cache
such partial scan results. The apps will always get results of the last
full scan request made.

Bug: 38212080
Test: Unit tests
Test: Verified manually that the WifiManager#getScanResults() no longer
outputs partial scan results.

Change-Id: I5e320435e34c6bd74639dd13a480bb26ecea1edb
2 files changed
tree: 0228eba47641b1e3b8981ffb5cdb3c4b6db7cd88
  1. service/
  2. PREUPLOAD.cfg