[ Bug ] "Password protect the whole application" option is not respected when photos/videos are opened by another app.
Checklist
- [X] I can reproduce the bug with the latest version given here.
- [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the contribution guidelines.
Affected app version
1.1.1
Affected Android/Custom ROM version
Android 10
Affected device model
Motorola moto e7 Power
How did you install the app?
GitHub releases
Steps to reproduce the bug
- Open the Fossify Gallery app.
- Click on the 3 dots on the top right.
- Click on "Settings".
- Scroll down to "SECURITY" and enable "Password protect the whole application".
- Exit the gallery app.
- Open a photo viewing app that does NOT have a built in gallery ( e.g. Simple Camera, Fossify File Manager )
- Click on a picture
Expected behavior
It should ask for the PIN code in order for the photos/videos taken to be seen, and if not entered correctly further access should not be allowed.
Actual behavior
It directly opens the folder's contents, and the "ENTER PIN" overlay is only shown when trying to delete a photo/video ( if "Password protect file deletion and moving" is enabled ).
Screenshots/Screen recordings
Here is a video where I show the bug using the Camera app. It also happens when using the file manager, or basically any app that does not have a built in gallery and depends on the default gallery app.
https://github.com/FossifyOrg/Camera/assets/158749828/7057361c-2827-4e15-b142-1df85a028805
Additional information
• If the "Password protect file deletion and moving" option is enabled, it will be respected.
• I have tested with both Gallery apps ( Fossify and SMT latest release ) and both have the same issue.
Yes Its a must needed feature... At least while opening via cross app, opening settings menu must be restricted.!! Thanks
Should be fixed in the next update. The unlock UI will now be displayed in full screen:
Notes:
-
App will be locked instantly on back press.
-
App will be locked after 30 seconds when closed using any other gesture or method.