OSDN Git Service

Prevent startNavigating() call when GPS is off
authorDante Russo <drusso@codeaurora.org>
Mon, 20 Jun 2016 18:11:59 +0000 (11:11 -0700)
committerAarthi Thiruvengadam <athiru@google.com>
Tue, 21 Jun 2016 16:39:39 +0000 (09:39 -0700)
commit260d667b27af006193fbb9de58332b87bc6c85d2
tree761c693ca1f3ec62ca057bd2cfad34a5ae94218e
parentf159b74608f76433a4e4ee563e13f7fa38ea559c
Prevent startNavigating() call when GPS is off

When system comes back from idle state,
GnssLocationProvider invokes startNavigating()
even when GPS is turned off in settings.

Bug: 29512509
Change-Id: Ifcc6a06d698f65f868d18244f7166663ab57f57e
CRs-Fixed: 1022372
services/core/java/com/android/server/location/GnssLocationProvider.java