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
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user