Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 668d57e2 authored by Michael W's avatar Michael W
Browse files

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
parent cab14a49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment