Add FEATURE_GAMEPAD.
This allows micro-consoles or other devices to signify that there's a game controller in the box, even if the user hasn't connected it. Change-Id: Ie5e2cf69f777ebe84abb83f34c9ed63d9555deff
This commit is contained in:
@@ -1545,6 +1545,15 @@ public abstract class PackageManager {
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_HDMI_CEC = "android.hardware.hdmi.cec";
|
||||
|
||||
/**
|
||||
* Feature for {@link #getSystemAvailableFeatures} and {@link #hasSystemFeature}:
|
||||
* The device has all of the inputs necessary to be considered a compatible game controller, or
|
||||
* includes a compatible game controller in the box.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.FEATURE)
|
||||
public static final String FEATURE_GAMEPAD = "android.hardware.gamepad";
|
||||
|
||||
|
||||
/**
|
||||
* Action to external storage service to clean out removed apps.
|
||||
* @hide
|
||||
|
||||
Reference in New Issue
Block a user