Dialer: Fix NearbyPlaces Lookup
* Currently there are two issues that both lead to no locations being
displayed:
* ArrayList results not being properly instantiated and therefore
resulting in an NPE
* getLastKnownLocation: Since Kitkat this always returns a
FUSED_LOCATION one since we request it with a Criteria(), see
https://developer.android.com/reference/android/location/LocationManager#requestSingleUpdate(android.location.Criteria,%20android.location.LocationListener,%20android.os.Looper)
Change-Id: I0ca2733911931b4112b31b97804d8b6200545ae8
Loading
Please register or sign in to comment