* commit 'e22fe9331ad8a9f81470751fdeca7633f654cffa': Fix issue #4582417: Need to add new PackageManager...
This commit is contained in:
@ -61403,6 +61403,28 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT"
|
||||||
|
type="java.lang.String"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
value=""android.hardware.faketouch.multitouch.distinct""
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
|
<field name="FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND"
|
||||||
|
type="java.lang.String"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
value=""android.hardware.faketouch.multitouch.jazzhand""
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
<field name="FEATURE_LIVE_WALLPAPER"
|
<field name="FEATURE_LIVE_WALLPAPER"
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
transient="false"
|
transient="false"
|
||||||
@ -267885,7 +267907,7 @@
|
|||||||
deprecated="not deprecated"
|
deprecated="not deprecated"
|
||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
<parameter name="t" type="T">
|
<parameter name="arg0" type="T">
|
||||||
</parameter>
|
</parameter>
|
||||||
</method>
|
</method>
|
||||||
</interface>
|
</interface>
|
||||||
|
@ -886,6 +886,38 @@ public abstract class PackageManager {
|
|||||||
@SdkConstant(SdkConstantType.FEATURE)
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
public static final String FEATURE_FAKETOUCH = "android.hardware.faketouch";
|
public static final String FEATURE_FAKETOUCH = "android.hardware.faketouch";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
|
* {@link #hasSystemFeature}: The device does not have a touch screen, but
|
||||||
|
* does support touch emulation for basic events that supports distinct
|
||||||
|
* tracking of two or more fingers. This is an extension of
|
||||||
|
* {@link #FEATURE_FAKETOUCH} for input devices with this capability. Note
|
||||||
|
* that unlike a distinct multitouch screen as defined by
|
||||||
|
* {@link #FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT}, these kinds of input
|
||||||
|
* devices will not actually provide full two-finger gestures since the
|
||||||
|
* input is being transformed to cursor movement on the screen. That is,
|
||||||
|
* single finger gestures will move a cursor; two-finger swipes will
|
||||||
|
* result in single-finger touch events; other two-finger gestures will
|
||||||
|
* result in the corresponding two-finger touch event.
|
||||||
|
*/
|
||||||
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
|
public static final String FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT = "android.hardware.faketouch.multitouch.distinct";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
|
* {@link #hasSystemFeature}: The device does not have a touch screen, but
|
||||||
|
* does support touch emulation for basic events that supports tracking
|
||||||
|
* a hand of fingers (5 or more fingers) fully independently.
|
||||||
|
* This is an extension of
|
||||||
|
* {@link #FEATURE_FAKETOUCH} for input devices with this capability. Note
|
||||||
|
* that unlike a multitouch screen as defined by
|
||||||
|
* {@link #FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND}, not all two finger
|
||||||
|
* gestures can be detected due to the limitations described for
|
||||||
|
* {@link #FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT}.
|
||||||
|
*/
|
||||||
|
@SdkConstant(SdkConstantType.FEATURE)
|
||||||
|
public static final String FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND = "android.hardware.faketouch.multitouch.jazzhand";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feature for {@link #getSystemAvailableFeatures} and
|
* Feature for {@link #getSystemAvailableFeatures} and
|
||||||
* {@link #hasSystemFeature}: The device supports live wallpapers.
|
* {@link #hasSystemFeature}: The device supports live wallpapers.
|
||||||
|
23
data/etc/android.hardware.faketouch.multitouch.distinct.xml
Normal file
23
data/etc/android.hardware.faketouch.multitouch.distinct.xml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a indirect touch input device that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.faketouch.multitouch" />
|
||||||
|
<feature name="android.hardware.faketouch.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
24
data/etc/android.hardware.faketouch.multitouch.jazzhand.xml
Normal file
24
data/etc/android.hardware.faketouch.multitouch.jazzhand.xml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for an indirect touch input device that supports
|
||||||
|
independently-trackable multiple-finger multitouch. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.faketouch.multitouch" />
|
||||||
|
<feature name="android.hardware.faketouch.multitouch.distinct" />
|
||||||
|
<feature name="android.hardware.faketouch.multitouch.jazzhand" />
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
22
data/etc/android.hardware.faketouch.xml
Normal file
22
data/etc/android.hardware.faketouch.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is the standard set of features for a devices that does not have
|
||||||
|
a touch screen, but does have some other indirect input device such as
|
||||||
|
a track pad. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.faketouch" />
|
||||||
|
</permissions>
|
Reference in New Issue
Block a user