Adding a feature definition for touchscreens that was overlooked in the last

round.

Change-Id: I8f30676a7b468a9868503b05f366709d5534a44e
This commit is contained in:
Dan Morrill
2010-04-05 14:43:58 -07:00
parent 44dcf65871
commit b0fe033ff8
3 changed files with 30 additions and 0 deletions

View File

@@ -736,6 +736,14 @@ public abstract class PackageManager {
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_TELEPHONY_GSM = "android.hardware.telephony.gsm";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device's display has a touch screen.
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_TOUCHSCREEN = "android.hardware.touchscreen";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device's touch screen supports