-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Expected behavior
The app should function properly and put on phone flashlight both in portrait and landscape mode. Also, the flashlight should not go off when phone is rotated to landscape mode from portrait mode.
Actual behavior
The behavior is into two places, which I believe were caused by the same root case:
First scenario, when the torchlight has been put on while in portrait mode, it suddenly goes off in landscape mode and won’t work again until app is restarted.
Second issue, if the app was started was started on landscape, the torchlight / flashlight won’t function / come up at all until app is restarted again.
How to reproduce
Reproduction steps of the first bug:
- Install app from fdroid
- Launch and grant camera permission
- Tap the centre of the screen display (torchlight comes up)
- Rotate phone to landscape (torchlight goes off)
- Rotate back to portrait mode , tap the centre of the screen (torchlight does not come up)
Reproduction steps of the second issue:
- Launch the app in landscape mode
- Tap the centre of the display to put torchlight on, it will be noticed that the torchlight does not come up.
- Browser/App version: app version 2.6
*Operating system: Android 6.0
Recording Of The Bug
I had to use an external camera recording device so as to capture both the operations and effect of the bug succefully because screen recorder will only capture operations and not effect.