FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.35k stars 40 forks source link

[ Bug ] "Password protect the whole application" option is not respected when photos/videos are opened by another app. #126

Open onegladius opened 5 months ago

onegladius commented 5 months ago

Checklist

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

  1. Open the Fossify Gallery app.
  2. Click on the 3 dots on the top right.
  3. Click on "Settings".
  4. Scroll down to "SECURITY" and enable "Password protect the whole application".
  5. Exit the gallery app.
  6. Open a photo viewing app that does NOT have a built in gallery ( e.g. Simple Camera, Fossify File Manager )
  7. 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.

the-netspider commented 5 months ago

Yes Its a must needed feature... At least while opening via cross app, opening settings menu must be restricted.!! Thanks