diff --git a/gnss/aidl/android/hardware/gnss/IGnss.aidl b/gnss/aidl/android/hardware/gnss/IGnss.aidl index aaafe7f583..8a22d6e67f 100644 --- a/gnss/aidl/android/hardware/gnss/IGnss.aidl +++ b/gnss/aidl/android/hardware/gnss/IGnss.aidl @@ -217,6 +217,10 @@ interface IGnss { * Starts a location output stream using the IGnssCallback gnssLocationCb(), following the * settings from the most recent call to setPositionMode(). * + * When a location output stream is in progress, calling setPositionMode() does not change the + * settings of the current location output stream. stop() and start() must be called to make the + * new settings effective. + * * This output must operate independently of any GNSS location batching operations, * see the IGnssBatching for details. */ @@ -306,6 +310,10 @@ interface IGnss { /** * Sets the GnssPositionMode parameter, its associated recurrence value, the time between fixes, * requested fix accuracy, time to first fix. + * + * If a location output stream is in progress, calling this method does not affect the settings + * of current location output stream. stop() and start() must be called to make the new settings + * effective. */ void setPositionMode(in PositionModeOptions options);