radiocells-scanner-android icon indicating copy to clipboard operation
radiocells-scanner-android copied to clipboard

getLastLocation() update proposal

Open thuryn opened this issue 8 years ago • 0 comments

My weather widget uses getLastLocation() method to get current location. The last location is updated just in the case, when some app calls: Location update() method. WifiManager calls onWifiResultsAvailable even if Location update() is not called, but scanning property disallow update of the last location. And this is the proposal - what if the onWifiResultsAvailable method updates last location every time - so the lastLocation will be always the current one?

thuryn avatar Apr 04 '17 20:04 thuryn