android_device_samsung_msm8.../sepolicy/set-audio-rotation.te
LuK1337 cbd81cde70 gts3l-common: audio: Implement audio rotation handler app×service
Originally this patch is made for Galaxy Tab S5e But I cherry-picked
this to our Galaxy Tab S3 device comes with editing the parameter key,
values.

Thanks LuK1337 for this amazing patch.

Change-Id: Ibc053edf1fa7e797f6457dfead416b177da57ab6
2021-08-07 16:34:11 +09:00

8 lines
316 B
Text

type set-audio-rotation, domain, coredomain;
type set-audio-rotation_exec, exec_type, file_type;
init_daemon_domain(set-audio-rotation)
# Allow set-audio-rotation to read and write to audio_device
allow set-audio-rotation audio_device:dir r_dir_perms;
allow set-audio-rotation audio_device:chr_file rw_file_perms;