diff options
| -rw-r--r-- | api/11.xml | 11 | ||||
| -rw-r--r-- | api/current.xml | 11 | ||||
| -rw-r--r-- | core/java/android/content/pm/PackageManager.java | 12 |
3 files changed, 34 insertions, 0 deletions
diff --git a/api/11.xml b/api/11.xml index 52d48b63a0ac..8a8e22514c13 100644 --- a/api/11.xml +++ b/api/11.xml @@ -60581,6 +60581,17 @@ visibility="public" > </field> +<field name="FEATURE_FAKETOUCH" + type="java.lang.String" + transient="false" + volatile="false" + value=""android.hardware.faketouch"" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="FEATURE_LIVE_WALLPAPER" type="java.lang.String" transient="false" diff --git a/api/current.xml b/api/current.xml index 9520f199c1b5..9d6141739c5e 100644 --- a/api/current.xml +++ b/api/current.xml @@ -60603,6 +60603,17 @@ visibility="public" > </field> +<field name="FEATURE_FAKETOUCH" + type="java.lang.String" + transient="false" + volatile="false" + value=""android.hardware.faketouch"" + static="true" + final="true" + deprecated="not deprecated" + visibility="public" +> +</field> <field name="FEATURE_LIVE_WALLPAPER" type="java.lang.String" transient="false" diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 6e9cdbeb8f6f..a58921622ae4 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -832,6 +832,18 @@ public abstract class PackageManager { /** * Feature for {@link #getSystemAvailableFeatures} and + * {@link #hasSystemFeature}: The device does not have a touch screen, but + * does support touch emulation for basic events. For instance, the + * device might use a mouse or remote control to drive a cursor, and + * emulate basic touch pointer events like down, up, drag, etc. All + * devices that support android.hardware.touchscreen or a sub-feature are + * presumed to also support faketouch. + */ + @SdkConstant(SdkConstantType.FEATURE) + public static final String FEATURE_FAKETOUCH = "android.hardware.faketouch"; + + /** + * Feature for {@link #getSystemAvailableFeatures} and * {@link #hasSystemFeature}: The device supports live wallpapers. */ @SdkConstant(SdkConstantType.FEATURE) |