OSDN Git Service

DO NOT MERGE ANYWHERE: GnssLocationProvider: listening to conn lost event
authorKevin Tang <zhikait@codeaurora.org>
Thu, 11 May 2017 02:36:20 +0000 (19:36 -0700)
committerZheng Zhang <zhzh@google.com>
Wed, 23 Aug 2017 18:22:59 +0000 (18:22 +0000)
commit63a04f0d8c427b4d7584d70a7cc5dc976a9bfd9e
tree70c7b2ce880024a299415c4cf8c846f08719e0f4
parent081877bc6a27c0e20b4dc4a273c340ac88d8b25a
DO NOT MERGE ANYWHERE: GnssLocationProvider: listening to conn lost event

The HAL layer now gets onLost notificaiton as well
as connectivity available.  This keeps HAL layer
better informed on what the on what the real
connection status is, for things like assistance
download.

Fixes: 34076506
Test: GPS works, even after delete all, and assistance
downloads wait politely when in airplane mode.

Change-Id: I4b5fb782f9370b0a45282c8a9dd5920120d449fb
services/core/java/com/android/server/location/GnssLocationProvider.java