Camera preview lags and camera refuses to take pictures
Expected Behavior
When I use the camera app, the preview should update in realtime, and I should be able to take pictures.
Current Behavior
Intermittently, I experience the following problems:
- The camera preview lags for about 1-2 seconds at a time
- Pressing the take-picture button during this time does nothing
Sometimes, I get a notification that photo/image processing is taking place.
It is essentially impossible to take pictures when this happens.
Note that the camera app isn't frozen; rather, the picture preview lags and freezes, and the take-picture button does nothing when pressed. All the other settings are responsive.
In terms of repro steps, this happens most consistently when I double-click the lock button to activate the camera.
I believe this is a regression; I definitely started seeing this after updating to LineageOS 20 (Jan. 1 build), perhaps after the last update (to the Jan. 15 build).
Workarounds
Usually when this happens, changing the camera mode from auto-take-picture to manual resolves the issue. However, I have (at least once) seen this issue happen in manual mode, in which case, changing it back to auto mode resolved the issue.
Failed Work-Arounds
I tried the following actions, which did not resolve the issue:
- Unlocking and re-opening the phone
- Closing and reopening the camera app
- Restarting
- Turning off auto-flash
- Turning off all the other settings (except Manual mode)
- Turning battery saver mode on and off
Possible Solution
Camera usage is pretty important for most poeple.
Steps to Reproduce
Bug reproduces intermittently.
- Lock phone
- Double-click power button to unlock camera
- Move the phone around and observe that the preview lags majorly
/device river /version 20-20230115-NIGHTLY-river /date 2023-01-05 /kernel 4.9.333-perf+ /baseband M632_11.47.01.85R /mods Google Apps
I have read the directions.