is_device_secure
Check if the Android device has a secure lock screen set, confirming that set_device_lock succeeded before executing Keystore-gated flows.
Instructions
Report whether a secure lock screen is set (KeyguardManager.isDeviceSecure). Use it to verify set_device_lock worked before running a Keystore-gated flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. |