Merge "Fix registerListener documentation bug in which the notice does not contain the notice contents."

This commit is contained in:
Treehugger Robot
2022-02-15 15:20:12 +00:00
committed by Gerrit Code Review

View File

@@ -638,7 +638,7 @@ public abstract class SensorManager {
/**
* Unregisters a listener for the sensors with which it is registered.
*
* <p class="note"></p>
* <p class="note">
* Note: Don't use this method with a one shot trigger sensor such as
* {@link Sensor#TYPE_SIGNIFICANT_MOTION}.
* Use {@link #cancelTriggerSensor(TriggerEventListener, Sensor)} instead.