forked from shihaam/thijooree
update docs
This commit is contained in:
@@ -27,20 +27,27 @@ Biometric availability is checked via `BiometricManager.canAuthenticate()`. The
|
||||
|
||||
## Auto-Lock Timeout
|
||||
|
||||
A radio group or dropdown to set the inactivity timeout:
|
||||
A `MaterialButtonToggleGroup` to set the inactivity timeout (`SettingsSecurityFragment.kt:81-94`). Default: **1 minute**.
|
||||
|
||||
| Option | Timeout |
|
||||
|---|---|
|
||||
| 30 seconds | 30 s |
|
||||
| 1 minute | 60 s |
|
||||
| 1 minute | 60 s (default) |
|
||||
| 3 minutes | 180 s |
|
||||
| 5 minutes | 300 s |
|
||||
| Never | Disabled |
|
||||
|
||||
There is no "Never" option — auto-lock cannot be disabled.
|
||||
|
||||
The selection is stored in `SharedPreferences` and read by `HomeActivity` on each timer reset.
|
||||
|
||||
---
|
||||
|
||||
## Auto-Unlock on Correct PIN
|
||||
|
||||
When the lock method is **PIN**, an extra `switchAutoUnlockPin` toggle (`SettingsSecurityFragment.kt:45-51`) lets the entered PIN unlock immediately on the last correct digit, skipping the **Confirm** tap. Not available for the Pattern method.
|
||||
|
||||
---
|
||||
|
||||
## Screenshots
|
||||
|
||||
A toggle for `FLAG_SECURE` on `HomeActivity`'s window.
|
||||
|
||||
Reference in New Issue
Block a user