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

Commit 49f82c76 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Force screenshot sound if camera open

In certain locales, it's required for the camera to make a sound when a
photo is taken, even if the phone is otherwise on silent. Originally, we
turned off this feature for screenshots (since most screenshots are just
of the screen and don't pose a privacy concern in the same way).
However, it's possible to take a screenshot *of the camera*.

This change forces the shutter sound on if it's required for the camera
and the camera is currently open.

Bug: 411503333
Fix: 411503333
Test: manual (by hardcoding the shutter sound to be forced on)
Flag: com.android.systemui.screenshot_force_shutter_sound
Change-Id: Ie4e16ce3846369b5a5c6bd24a24139eaf420d2e5
parent ef669624
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