-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
I am experiencing an issue with AppLock when using third-party apps such as Google Photos or Instagram.
When viewing photos inside these apps, everything works normally at first. However, when I zoom in on an image, AppLock suddenly shows the login screen. After unlocking, the app restarts and returns to the home screen instead of resuming where I left off.
The same problem also occurs during screen rotation (portrait ↔ landscape). Rotating the device triggers AppLock again and resets the app state.
Steps to Reproduce
- Install AppLock from F-Droid
- Enable AppLock for Google Photos, Instagram, or similar apps
- Open a locked app
- Open any image
- Zoom into the image OR rotate the device
- AppLock appears and forces re-authentication
- After unlocking, the app restarts from the home screen
Expected Behavior
- Zooming images or rotating the screen should not trigger AppLock
- After unlocking, the app should return to the same screen/state
- AppLock should only activate when switching apps or leaving the app
Actual Behavior
- AppLock triggers during image zoom or screen rotation
- The locked app restarts instead of resuming
- User is taken back to the home screen after unlocking
Impact
- Makes photo viewing in third-party apps frustrating
- Breaks expected Android behavior for gestures and rotation
- Poor user experience in image-heavy apps
Possible Cause (Suggestion)
This may be related to:
- Activity recreation during configuration changes (screen rotation)
- AppLock intercepting temporary activity transitions (e.g., image viewer or zoom activities)
- Improper handling of Android lifecycle events
Environment
- App version: Latest (Version 2)
- Installation source: F-Droid
- Android version: Android 15
- Device: Samsung Galaxy S25 Plus
Additional Notes
This issue happens consistently and significantly affects usability. Proper handling of screen rotation and temporary activity changes would greatly improve the experience.
Metadata
Metadata
Assignees
Labels
No labels