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

Commit 73d4b0f9 authored by Brian Duddie's avatar Brian Duddie
Browse files

Add note about Sensor.TYPE_HEAD_TRACKER visibility

In Android 13, this sensor type is generally not expected to be used by
apps.

Bug: 224619073
Test: compile; comment change only
Change-Id: Ic6f56b6d354777dcf608d34314d6e4e7b7af36b8
parent 23751ef8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -712,14 +712,16 @@ public final class Sensor {
    public static final String STRING_TYPE_HINGE_ANGLE = "android.sensor.hinge_angle";

    /**
     * A constant describing a head tracker sensor.
     * A constant describing a head tracker sensor. Note that this sensor type is typically not
     * available for apps to use.
     *
     * See {@link android.hardware.SensorEvent#values SensorEvent.values} for more details.
     */
    public static final int TYPE_HEAD_TRACKER = 37;

    /**
     * A constant string describing a head tracker sensor.
     * A constant string describing a head tracker sensor. Note that this sensor type is typically
     * not available for apps to use.
     *
     * See {@link android.hardware.SensorEvent#values SensorEvent.values} for more details.
     */