Add support for GPS measurement/navigation message capabilities.
b/16727892 b/16815124 The listeners are changed to receive statuses asynchronously, this is required because GPS HAL, requires time to be notified of the capabilities it supports. Change-Id: Ie69fdd629d8680341386a2c736bc851632dd2bda
This commit is contained in:
@@ -1579,7 +1579,7 @@ public class LocationManager {
|
||||
* Adds a GPS Measurement listener.
|
||||
*
|
||||
* @param listener a {@link GpsMeasurementsEvent.Listener} object to register.
|
||||
* @return {@code true} if the listener was successfully registered, {@code false} otherwise.
|
||||
* @return {@code true} if the listener was added successfully, {@code false} otherwise.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@@ -1602,7 +1602,7 @@ public class LocationManager {
|
||||
* Adds a GPS Navigation Message listener.
|
||||
*
|
||||
* @param listener a {@link GpsNavigationMessageEvent.Listener} object to register.
|
||||
* @return {@code true} if the listener was successfully registered, {@code false} otherwise.
|
||||
* @return {@code true} if the listener was added successfully, {@code false} otherwise.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user