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

Skip to content
Commit 6490085d authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Handle opChanged callback with IGNORED for shell permission

- Camera CTS assumes shell permission identity to test camera.
- An opChanged() callback can still occur during a camera session even though
the opCode remains IGNORED.

If both of the above conditions are true, the camera server shouldn't revoke the camera
access. Allow camera access if the Uid is in active state.

Test: Run FastBasicsTest with forrest
Bug: 175320666
Change-Id: I1f680337ab6f5796fe57da4d20264c224bcc50f4
parent 34cee631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment