Device: Google Pixel 6a
OS: Android 17
When I open the camera on the lock screen, it won't close, when I use the "back" gesture. I have to use "back" twice to get back to the lock screen.
Also when I lock the device again with the power button, the camera app keeps running in the background and when I press the power button again, the device turns on with the camera app still running.
A better solution would be:
Or did I miss a setting somewhere in the app to control this?
Anonymous
It seems, this only happens, when the camera app was started once with the unlocked device. As long as the app is still in the list of the recently opened apps, it is still active - even when leaving it with the back gesture.
Steps to reproduce on Google Pixel 6a:
And to fix this situation:
When the camera was only started from the lock screen, it won't show up in the list of recent apps and works as expected.
Thanks for bug report - this is likely device dependent (as launching from lock screen differs between manufacturers), I'll see if I can reproduce on my Pixel 6 Pro.
Regarding running in background - note that Open Camera appearing after turning screen off and on doesn't necessarily mean Open Camera was continuing to run continually - turning the screen off in Android means applications will still be put into a paused state, and then resumed when the screen turns on (or at least that's what should happen...)
I can reproduce this behaviour also in the Android emulator in Android Studio 2026.1.1 Patch 2 with Android 16 running on sdk_gphone64_x86_64. So it is not only specific to the Google Pixel 6a or Android 17.
Steps to reproduce are the same as on a real device:
The image I used for the test was "Google Play Intel x86_64 Atom System Image" and API level "API 36.0 "Baklava"; Android 16" with Services "Google Play Store" and Android Studio is running in Kubuntu 26.10 with KDE 6.6.
Last edit: Arno Welzel 10 hours ago