Merge "Fix registerListener documentation bug in which the notice does not contain the notice contents." am: e1ce0243a3 am: 8ff4db2d9d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985887 Change-Id: Iabedcceb302623774d7736b3bc313e9c260bb5d9
This commit is contained in:
@@ -638,7 +638,7 @@ public abstract class SensorManager {
|
|||||||
/**
|
/**
|
||||||
* Unregisters a listener for the sensors with which it is registered.
|
* 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
|
* Note: Don't use this method with a one shot trigger sensor such as
|
||||||
* {@link Sensor#TYPE_SIGNIFICANT_MOTION}.
|
* {@link Sensor#TYPE_SIGNIFICANT_MOTION}.
|
||||||
* Use {@link #cancelTriggerSensor(TriggerEventListener, Sensor)} instead.
|
* Use {@link #cancelTriggerSensor(TriggerEventListener, Sensor)} instead.
|
||||||
|
|||||||
Reference in New Issue
Block a user