Fix screenshot shutter sound on P23 devices

SystemUI didn't have permission to access media server or the audio
server. Looks like both are required (and sufficient).

Bug: 273688513
Bug: 272628174
Fix: 273688513
Test: manual; take a screenshot with ringer on and verify it
makes a sound

Change-Id: Ibbe54db8cbf78ed199cb329804221709a2822242
This commit is contained in:
Miranda Kephart 2023-03-22 14:05:16 -04:00
parent e0adad9eb0
commit 8cc50336c8

View file

@ -4,6 +4,8 @@ allow systemui_app app_api_service:service_manager find;
allow systemui_app network_score_service:service_manager find;
allow systemui_app overlay_service:service_manager find;
allow systemui_app color_display_service:service_manager find;
allow systemui_app audioserver_service:service_manager find;
allow systemui_app mediaserver_service:service_manager find;
allow systemui_app radio_service:service_manager find;
get_prop(systemui_app, keyguard_config_prop)