diff options
| author | 2024-11-20 10:21:52 -0800 | |
|---|---|---|
| committer | 2024-11-20 20:05:36 +0000 | |
| commit | 5e40aee028eabd6bfc15c608ebe968acb4f953d2 (patch) | |
| tree | 1c664fea62567a83ed9b51bde99937debaa47f22 /libs/androidfw/StringPool.cpp | |
| parent | 003fca61e91be612b9bf38d0f3078b3b9d7ffa37 (diff) | |
Remove OP_TAKE_AUDIO_FOCUS audio CAP requirement
It was not intended that OP_TAKE_AUDIO_FOCUS requires WIU caps in the
prior release, just that an FGS service was required. Our documentation
also only noted a requirement on an FGS *not* a requirement on an FGS
with a capability.
Since capability enforcement is tied to WIU, we must remove the
capability requirement, and downgrade to a regular MODE_FOREGROUND
enforcement for this OP. Since we didn't require a specific FGS type
either, this change is closer to our desired behavior.
We will add back capability based enforcement in subsequent release(s)
with the correct docs/logs/etc.
Test: compiles
Fixes: 375807626
Flag: EXEMPT bugfix--safe, infeasible
Change-Id: I0144fcbb0cd685a0a0a160fbd1a9b7fcd24f898f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions