diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-11-19 18:29:46 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-19 18:29:46 -0800 |
commit | 187f0749b8412553a0b8ff6abecc1d956653e03b (patch) | |
tree | d9b3ca9ba88c9c99ef7bae3295bdc47467b61d45 /core/java/android/content/pm | |
parent | 608620da67d697380eea2bd1ece346f4e05ffbb7 (diff) | |
parent | 7937464319133d478d5e8b386e9d08668eddd8a9 (diff) | |
download | frameworks_base-187f0749b8412553a0b8ff6abecc1d956653e03b.zip frameworks_base-187f0749b8412553a0b8ff6abecc1d956653e03b.tar.gz frameworks_base-187f0749b8412553a0b8ff6abecc1d956653e03b.tar.bz2 |
am 79374643: am b9ab7126: am 524812fb: Merge change I7d40ad9a into eclair
Merge commit '7937464319133d478d5e8b386e9d08668eddd8a9'
* commit '7937464319133d478d5e8b386e9d08668eddd8a9':
More on issue #2271640: Fix wallpaper etc docs
Diffstat (limited to 'core/java/android/content/pm')
-rw-r--r-- | core/java/android/content/pm/PackageManager.java | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index cd48dcb..e2030be 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -514,6 +514,68 @@ public abstract class PackageManager { public static final int DONT_DELETE_DATA = 0x00000001; /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device has a camera facing away + * from the screen. + */ + public static final String FEATURE_CAMERA = "android.hardware.camera"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device's camera supports auto-focus. + */ + public static final String FEATURE_CAMERA_AUTOFOCUS = "android.hardware.camera.autofocus"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device's camera supports flash. + */ + public static final String FEATURE_CAMERA_FLASH = "android.hardware.camera.flash"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device includes a light sensor. + */ + public static final String FEATURE_SENSOR_LIGHT = "android.hardware.sensor.light"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device includes a proximity sensor. + */ + public static final String FEATURE_SENSOR_PROXIMITY = "android.hardware.sensor.proximity"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device has a telephony radio with data + * communication support. + */ + public static final String FEATURE_TELEPHONY = "android.hardware.telephony"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device has a CDMA telephony stack. + */ + public static final String FEATURE_TELEPHONY_CDMA = "android.hardware.telephony.cdma"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device has a GSM telephony stack. + */ + public static final String FEATURE_TELEPHONY_GSM = "android.hardware.telephony.gsm"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device's touch screen supports multitouch. + */ + public static final String FEATURE_TOUCHSCREEN_MULTITOUCH = "android.hardware.touchscreen.multitouch"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device supports live wallpapers. + */ + public static final String FEATURE_LIVE_WALLPAPER = "android.software.live_wallpaper"; + + /** * Retrieve overall information about an application package that is * installed on the system. * |