cbd81cde70
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
8 lines
316 B
Text
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;
|