diff options
| author | 2024-06-07 16:54:46 -0700 | |
|---|---|---|
| committer | 2024-06-10 08:28:35 -0700 | |
| commit | 09eeb28da2e58e6bb18a0b3ed67dc0f0977b0b2b (patch) | |
| tree | c6bc33d13da230ef4537ba341fc305dc905a4619 /libs/androidfw/misc.cpp | |
| parent | 27165ad7d0dae0c5996da6dd27fca8b07ca06e7f (diff) | |
AudioService: focus hardening is SDK-gated
Audio focus restrictions are SDK-gated: check target SDK in
HardeningEnforcer.
Pass attribution tag and target SDK in HardeningEnforcer.
Use noteOpNoThrow and note focus op just once (no second check
in MediaFocusControl).
Bug: 341815817
Test: atest AudioFocusTest
Change-Id: I100887fbf9a7d3ff15d87e4915135116f0e2b41a
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions