Add config value for fingerprint gesture support
Also correcting docs for using the fingerprint gesture flag. Bug: 76419487 Test: Verified with a test a11y service that gestures are not available. Adding a unit test to verify this case. Change-Id: I90233613777013e8b117a2d94f767be292c80019
This commit is contained in:
@@ -302,7 +302,16 @@ public class AccessibilityServiceInfo implements Parcelable {
|
||||
|
||||
/**
|
||||
* This flag requests that all fingerprint gestures be sent to the accessibility service.
|
||||
* It is handled in {@link FingerprintGestureController}
|
||||
* <p>
|
||||
* Services that want to set this flag have to declare the capability
|
||||
* to retrieve window content in their meta-data by setting the attribute
|
||||
* {@link android.R.attr#canRequestFingerprintGestures} to
|
||||
* true, otherwise this flag will be ignored. For how to declare the meta-data
|
||||
* of a service refer to {@value AccessibilityService#SERVICE_META_DATA}.
|
||||
* </p>
|
||||
*
|
||||
* @see android.R.styleable#AccessibilityService_canRequestFingerprintGestures
|
||||
* @see AccessibilityService#getFingerprintGestureController()
|
||||
*/
|
||||
public static final int FLAG_REQUEST_FINGERPRINT_GESTURES = 0x00000200;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user