Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63fcfd5a authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am 06543a45: small cleanup of trigger event javadoc

* commit '06543a45':
  small cleanup of trigger event javadoc
parents 92b1bd5e 06543a45
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -21,15 +21,14 @@ package android.hardware;
 * Trigger Sensors are sensors that trigger an event and are automatically
 * disabled. {@link Sensor#TYPE_SIGNIFICANT_MOTION} is one such example.
 * <p>
 * SensorManager lets you access the device's {@link android.hardware.Sensor
 * sensors}. Get an instance of this class by calling
 * {@link SensorManager} lets you access the device's {@link android.hardware.Sensor
 * sensors}. Get an instance of {@link SensorManager} by calling
 * {@link android.content.Context#getSystemService(java.lang.String)
 * Context.getSystemService()} with the argument
 * {@link android.content.Context#SENSOR_SERVICE}.
 * Usage details are explained in the example below.
 * </p>
 * <p>Here's an example setup for a TriggerEventListener:
 *
 * <pre class="prettyprint">
 * <pre>
 * class TriggerListener extends TriggerEventListener {
 *     public void onTrigger(TriggerEvent event) {
 *          // Do Work.