OSDN Git Service

do not request location from unavailable providers
authorVictoria Lease <violets@google.com>
Sun, 13 Oct 2013 19:15:40 +0000 (12:15 -0700)
committerVictoria Lease <violets@google.com>
Sun, 13 Oct 2013 19:15:40 +0000 (12:15 -0700)
commitb30f38383e4691bf23311f62649aa504832731db
treea76acadffd2e70c248cc8e7005a98088952d0f6b
parentd38b1302b7506ae7eef6c6680228c0f07f6e1895
do not request location from unavailable providers

This commit prevents a system_server crash when applications attempt
to use the fused location provider on systems that do not have a
network location provider available.

Bug: 10845061
Change-Id: I85b33806e05566e8b68ee2ccc401b1c565fd7b9a
packages/FusedLocation/src/com/android/location/fused/FusionEngine.java
services/java/com/android/server/LocationManagerService.java