diff options
| author | 2025-01-27 16:11:55 -0800 | |
|---|---|---|
| committer | 2025-01-27 16:23:53 -0800 | |
| commit | 7274c3a4ce52f888e23663808d0d04dac7793a95 (patch) | |
| tree | 908209405acdb9021925e5b8f25c23318ad9da9a /libs/androidfw/AssetsProvider.cpp | |
| parent | 5fef01f718b9b72d190a764e7d2910d58f09e1cc (diff) | |
[audio] AudioService IPC invalidation listener changes
Remove the sysprop writing logic from the package/perm cache
invalidation listener relying on the new shared memory backing store for
the PIC/IPC cache. Instead, directly queue the permission sync task,
which is already throttled within AudioService.
This fixes issues with the permission updates during a prolonged
sequence of permission cache corks not triggering the perm sync task in
AudioService until the corking ended. This could happen during tests.
Note, this means that the sysprop listener within audioserver no longer
will be updated with the new memory backed IPC, which is tolerated since
both flags are moving to -next in the same release.
Test: atest CtsPermissionUiTestCases:android.permissionui.cts.CameraMicIndicatorsPermissionTest#testSafetyCenterMicIndicator
Flag: com.android.media.audio.audioserver_permissions
Fixes: 381370620
Fixes: 391175817
Change-Id: Ic30b5ade8456387a3877f6cf433ecf2e3aeb23ab
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions