Merge "Fix registerListener documentation bug in which the notice does not contain the notice contents." am: e1ce0243a3 am: 8ff4db2d9d am: 580c3b06ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985887 Change-Id: Ieea798a2a5df3ecf239d165793ffcd27fd25e7a8
This commit is contained in:
@@ -639,7 +639,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.
|
||||
|
||||
Reference in New Issue
Block a user