20 Commits

Author SHA1 Message Date
Ashil
627a34a231
[mob][auth] Lockscreen option auth (#2465)
### Pull Request Description

*Features Added:*

1. *App Lock Options:*
- *Device Lock*: Users can set the app lock to utilize the device's
default lock mechanism (e.g., fingerprint, face recognition, or device
PIN/password).
- *Custom PIN/Password*: Users have the option to set a custom PIN or
password for app lock.

2. *Authentication for App Lock Settings:*
- When users attempt to change the app lock settings, they must
authenticate using the currently set PIN/password or, if none is set,
the device lock.

3. *App Lock on Background and Quit:*
- The app will prompt for authentication when it is brought back to the
foreground after being in the background or when the app is restarted.
4. *Incremental Lock Timer:*
- A timer mechanism is implemented which starts at 30 seconds after few
incorrect unlock attempts.
- The lockout time doubles after each incorrect attempt, increasing
delay penalties.
- After 10 incorrect attempts, the user is automatically logged out.
2024-07-31 12:43:15 +05:30
ashilkn
12fbc6c801 [mob][photos] Use better names 2024-07-24 17:11:51 +05:30
ashilkn
2f6530d6d6 [mob][photos] Add comment for context 2024-07-24 16:02:25 +05:30
ashilkn
40f0829f6b [mob][photos] Make code better readable 2024-07-24 16:00:18 +05:30
Aman Raj Singh Mourya
940c02bbbc [mob][photos] Merge branch 'main' into show_app_content 2024-07-24 14:31:55 +05:30
Aman Raj Singh Mourya
1e5cbc8422 [mob][photos] Minor changes 2024-07-23 21:59:59 +05:30
ashilkn
875b079850 [mob] Minor refactor 2024-07-23 17:17:04 +05:30
Aman Raj Singh Mourya
39a693edac [mob][photos] Quick fixes 2024-07-23 15:04:19 +05:30
Aman Raj Singh Mourya
57ec8771fb [mob][photos] Show app content fixes 2024-07-23 14:05:57 +05:30
Aman Raj Singh Mourya
1381cfc6e4 [mob][photos] Used privacy_screen instead of secure_app_switcher to hide app content 2024-07-21 23:44:55 +05:30
Aman Raj Singh Mourya
254fb418ce [mob][photos] Auto lock default time set to 5 seconds 2024-07-20 20:03:56 +05:30
Aman Raj Singh Mourya
5b3b3b577b [mob][photos] Hide content when app is in background using secure_app_switcher 2024-07-18 23:52:13 +05:30
Aman Raj Singh Mourya
e5a5d9c08d [mob][photos] Auto lock time changed 2024-07-18 14:32:49 +05:30
Aman Raj Singh Mourya
ab9c097a32 [mob][photos] Removed App lock subtitle in Settings 2024-07-15 15:59:52 +05:30
Aman Raj Singh Mourya
82f3cd19be [mob][photos] Auto lock options fixes 2024-07-15 12:02:54 +05:30
Aman Raj Singh Mourya
fd2c22dc5f [mob][photos] Auto lock implemented and UI fixes 2024-07-11 14:32:57 +05:30
Aman Raj Singh Mourya
5089721507 [mob][photos] Autolock time delay implemented 2024-07-09 23:46:34 +05:30
Aman Raj Singh Mourya
4af03ad2dd [mob][photos] Implemented Auto lock options 2024-07-09 15:10:39 +05:30
ashilkn
71e7e660b2 [mob][photos] Use better keys + make members private 2024-07-02 15:46:01 +05:30
ashilkn
03ded09cb4 [mob][photos] Use consistent names for all lock screen related classes and file names 2024-07-02 15:17:07 +05:30