Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1ac9b5e9 authored by Mina Granic's avatar Mina Granic
Browse files

Notify all camera listeners on open/close.

Since there is a close delay, a new open can overwrite a camera
listener, and the camera compat might not be undone for the
original close.

Remove the return variable for camera opened, as the camera
monitor should not track the state of its listeners.

Flag: com.android.window.flags.camera_compat_for_freeform
Test: atest WmTests:CameraStateMonitorTests
Fixes: 347882285
Change-Id: I65d80904aabde3507ac2ac2c6d370a7ee2dd800a
parent 006eabd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment