CameraService: Treat TOP_SLEEPING same as TOP for priority.
When arbitrating between camera clients, treat processes in the
TOP_SLEEPING state with the same high priority as processes in the
This resolves race conditions during lock screen handoffs between
clients such as face unlock (a bound foreground process) and a
secure camera app (the topmost activity, but transitioning from
TOP_SLEEPING to TOP asynchronously from the activity lifecycle
2 files changed