Merge "Revert "Clarify setPositionMode doc"" into main

This commit is contained in:
Treehugger Robot
2024-06-19 01:10:39 +00:00
committed by Android (Google) Code Review

View File

@@ -217,10 +217,6 @@ 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.
*/
@@ -310,10 +306,6 @@ 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);