fingerprint_touch
Simulates an emulator fingerprint-sensor touch to satisfy BiometricPrompt using an enrolled finger ID; check enrollment first to avoid a stuck 'Touch the sensor' prompt.
Instructions
Simulate a fingerprint-sensor touch on an EMULATOR (adb emu finger touch). With a fingerprint enrolled it satisfies a BiometricPrompt, so you can drive the real biometric path instead of cancelling into the PIN fallback. finger_id must match an enrolled finger (default 1). Check has_biometric_enrolled FIRST: with nothing enrolled the prompt sits on "Touch the sensor" forever. GOTCHA: it reports OK even when the id matches nothing, and wrong ids trip a HAL lockout, so enroll deterministically rather than sweeping ids (android://guide/pin-and-lock). Emulator-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| finger_id | No | Id of the enrolled finger to touch with (must match a finger enrolled in Settings). Default 1. |