author | yujie.wu <yujie.wu@amlogic.com> | 2020-02-11 03:14:22 (GMT) |
---|---|---|
committer | Chia-hung Duan <chiahungduan@google.com> | 2020-05-06 03:21:35 (GMT) |
commit | 4bfec6dfe87179bce5243ea7231bd01b3ba8fcc2 (patch) | |
tree | dbf9f97b09d62a095ae0a7c36b092b0bb1e9b922 | |
parent | b3e64ea6120f28a45c728ccaba3a0eae451baec8 (diff) | |
download | common-4bfec6dfe87179bce5243ea7231bd01b3ba8fcc2.zip common-4bfec6dfe87179bce5243ea7231bd01b3ba8fcc2.tar.gz common-4bfec6dfe87179bce5243ea7231bd01b3ba8fcc2.tar.bz2 |
audio: Tune MS12 UI latency [1/5]
PD#SWPL-20193
BUG=152737483
Problem:
UI Sound Latency is much worse
in Android Q MS12
Solution:
We need enable audio thread priority
tunning
Verify:
Sabrina stadia app
Change-Id: Idc44d618b1dcbf4b19201307329d351d4680f29a
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
-rwxr-xr-x | sepolicy/hal_audio_default.te | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sepolicy/hal_audio_default.te b/sepolicy/hal_audio_default.te index 5d7bc6e..b8244c1 100755 --- a/sepolicy/hal_audio_default.te +++ b/sepolicy/hal_audio_default.te @@ -19,7 +19,7 @@ allow hal_audio_default sysfs_video:dir search; # product_shipping_api_level=28 #--------------------------------------------------------------------# get_prop(hal_audio_default, vendor_platform_prop) - +allow hal_audio_default self:capability sys_nice; allow hal_audio_default sysfs_aud_output_chs:file { open read write }; allow hal_audio_default sysfs_aud_output_chs:file { read write open }; allow hal_audio_default remotecontrol_hwservice:hwservice_manager find; |