Merge "Add config value for fingerprint gesture support" into pi-dev am: 3f9aaad4dc

am: 48de181270

Change-Id: Ie857bd953d1005d3e17e17dbf1fb5b0a4234f5d9
This commit is contained in:
Phil Weaver
2018-04-25 11:28:32 -07:00
committed by android-build-merger
6 changed files with 61 additions and 8 deletions

View File

@@ -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;