am 1caeb10a: DO NOT MERGE: Add android.hardware.camera.external feature.
* commit '1caeb10a7a288d937195d925c52f441f454cbc9a': DO NOT MERGE: Add android.hardware.camera.external feature.
This commit is contained in:
@@ -7300,6 +7300,7 @@ package android.content.pm {
|
|||||||
field public static final java.lang.String FEATURE_CAMERA = "android.hardware.camera";
|
field public static final java.lang.String FEATURE_CAMERA = "android.hardware.camera";
|
||||||
field public static final java.lang.String FEATURE_CAMERA_ANY = "android.hardware.camera.any";
|
field public static final java.lang.String FEATURE_CAMERA_ANY = "android.hardware.camera.any";
|
||||||
field public static final java.lang.String FEATURE_CAMERA_AUTOFOCUS = "android.hardware.camera.autofocus";
|
field public static final java.lang.String FEATURE_CAMERA_AUTOFOCUS = "android.hardware.camera.autofocus";
|
||||||
|
field public static final java.lang.String FEATURE_CAMERA_EXTERNAL = "android.hardware.camera.external";
|
||||||
field public static final java.lang.String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";
|
field public static final java.lang.String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash";
|
||||||
field public static final java.lang.String FEATURE_CAMERA_FRONT = "android.hardware.camera.front";
|
field public static final java.lang.String FEATURE_CAMERA_FRONT = "android.hardware.camera.front";
|
||||||
field public static final java.lang.String FEATURE_CONSUMER_IR = "android.hardware.consumerir";
|
field public static final java.lang.String FEATURE_CONSUMER_IR = "android.hardware.consumerir";
|
||||||
|
|||||||
@@ -913,11 +913,19 @@ public abstract class PackageManager {
|
|||||||
/**
|
/**
|
||||||
* Feature for {@link #getSystemAvailableFeatures} and
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
* {@link #hasSystemFeature}: The device has at least one camera pointing in
|
* {@link #hasSystemFeature}: The device has at least one camera pointing in
|
||||||
* some direction.
|
* some direction, or can support an external camera being connected to it.
|
||||||
*/
|
*/
|
||||||
@SdkConstant(SdkConstantType.FEATURE)
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
public static final String FEATURE_CAMERA_ANY = "android.hardware.camera.any";
|
public static final String FEATURE_CAMERA_ANY = "android.hardware.camera.any";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
|
* {@link #hasSystemFeature}: The device can support having an external camera connected to it.
|
||||||
|
* The external camera may not always be connected or available to applications to use.
|
||||||
|
*/
|
||||||
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
|
public static final String FEATURE_CAMERA_EXTERNAL = "android.hardware.camera.external";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feature for {@link #getSystemAvailableFeatures} and
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
* {@link #hasSystemFeature}: The device's camera supports flash.
|
* {@link #hasSystemFeature}: The device's camera supports flash.
|
||||||
|
|||||||
@@ -584,9 +584,14 @@ is sensitive to delays or lag in sound input or output.</td>
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>android.hardware.camera.any</code></td>
|
<td><code>android.hardware.camera.any</code></td>
|
||||||
<td>The application uses at least one camera facing in any direction. Use this
|
<td>The application uses at least one camera facing in any direction, or an
|
||||||
in preference to <code>android.hardware.camera</code> if a back-facing camera is
|
external camera device if one is connected. Use this in preference to
|
||||||
not required.</td>
|
<code>android.hardware.camera</code> if a back-facing camera is not required.
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><code>android.hardware.camera.external</code></td>
|
||||||
|
<td>The application uses an external camera device if one is connected.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user