OSDN Git Service

Make non-framework emergency location notification configurable
authorAnil Admal <aadmal@google.com>
Fri, 10 May 2019 02:58:13 +0000 (19:58 -0700)
committerAnil Admal <aadmal@google.com>
Fri, 10 May 2019 19:30:16 +0000 (12:30 -0700)
commitbefd483289e26903c7321a3d53d91530e9706a72
tree60e2611dbac072a16a0f9cf4b2e60daf20fdc5be
parentbe9cfb2304f60f1e03c08a816800ffa72a7604ed
Make non-framework emergency location notification configurable

Add carrier config parameter to enable/disable posting notification
in the status bar when device location is provided for non-framework
location requests in user initiated emergency use cases.

Bug: 130892418
Test: Manual verification
Change-Id: Ibd10f68c6804f7a6f72feb4fa7948ff5629bbeeb
services/core/java/com/android/server/location/GnssConfiguration.java
services/core/java/com/android/server/location/GnssLocationProvider.java
services/core/java/com/android/server/location/GnssVisibilityControl.java
telephony/java/android/telephony/CarrierConfigManager.java