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

Commit 924b951a authored by Darryl L Johnson's avatar Darryl L Johnson Committed by Darryl Johnson
Browse files

Have CameraServiceProxy listen directly to DeviceStateManager.

Currently CameraServiceProxy receives notifications about fold/unfold events from DisplayFoldController in order to toggle camera availability for foldable devices. Instead of going through DisplayFoldController, which is a part of
WindowManager policy, have CameraServiceProxy listen directly to DeviceStateManager to receive these notifications.

Test: Manual - flash foldable and verify camera toggling
Bug: 173428581
Change-Id: I1d6789d3254e478ab3c04589461db0c299359ebd
parent 75ea095e
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