Skip to content

Commit c9108b1

Browse files
Eino-Ville TalvalaAndroid (Google) Code Review
authored andcommitted
Merge "Add hardware feature android.hardware.camera.any." into jb-mr1-dev
2 parents 6eeff85 + 752af83 commit c9108b1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

core/java/android/content/pm/PackageManager.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,15 @@ public NameNotFoundException(String name) {
833833
@SdkConstant(SdkConstantType.FEATURE)
834834
public static final String FEATURE_CAMERA_AUTOFOCUS = "android.hardware.camera.autofocus";
835835

836+
/**
837+
* Feature for {@link #getSystemAvailableFeatures} and
838+
* {@link #hasSystemFeature}: The device has at least one camera pointing in
839+
* some direction.
840+
* @hide
841+
*/
842+
@SdkConstant(SdkConstantType.FEATURE)
843+
public static final String FEATURE_CAMERA_ANY = "android.hardware.camera.any";
844+
836845
/**
837846
* Feature for {@link #getSystemAvailableFeatures} and
838847
* {@link #hasSystemFeature}: The device's camera supports flash.

0 commit comments

Comments
 (0)