summaryrefslogtreecommitdiff
authorLiang Ji <liang.ji@amlogic.com>2020-03-11 03:28:54 (GMT)
committer Henry Tsou <henry.tsou@amlogic.com>2020-04-22 10:12:17 (GMT)
commitca3c04afdc3b77f91cd83c15ad472a7ae625aed3 (patch)
treeb3835277dc1dc80f959b137f15d2f78625a62474
parentb3e64ea6120f28a45c728ccaba3a0eae451baec8 (diff)
downloadcommon-ca3c04afdc3b77f91cd83c15ad472a7ae625aed3.zip
common-ca3c04afdc3b77f91cd83c15ad472a7ae625aed3.tar.gz
common-ca3c04afdc3b77f91cd83c15ad472a7ae625aed3.tar.bz2
audio: Audio HAL need high priority thread [1/2]
PD#SWPL-21932 BUG=152737483 Problem: Due to AAudio feature, audio thread need high priority, we need enable SYS_NICE for it. Solution: add a new android.hardware.audio@2.0-service-droidlogic Verify: sabrina stadia app Change-Id: I4dedf7917f1afdddcb09651dec592c62ae4029b9 Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Diffstat
-rwxr-xr-xcore_amlogic.mk2
-rwxr-xr-xsepolicy/file_contexts1
2 files changed, 2 insertions, 1 deletions
diff --git a/core_amlogic.mk b/core_amlogic.mk
index 860a007..28d43e4 100755
--- a/core_amlogic.mk
+++ b/core_amlogic.mk
@@ -356,7 +356,7 @@ PRODUCT_PACKAGES += \
android.hardware.soundtrigger@2.0-impl:32 \
android.hardware.soundtrigger@2.1-impl:32 \
android.hardware.soundtrigger@2.2-impl:32 \
- android.hardware.audio@2.0-service
+ android.hardware.audio@2.0-service-droidlogic
#Camera HAL
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 138f7b8..7eeb141 100755
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -308,6 +308,7 @@
/vendor/bin/hw/android\.hardware\.power\.stats@1\.0-service\.mock u:object_r:hal_power_stats_default_exec:s0
/vendor/bin/hw/android\.hardware\.graphics\.composer@2\.3-service\.droidlogic u:object_r:hal_graphics_composer_default_exec:s0
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service.droidlogic u:object_r:hal_thermal_default_exec:s0
+/vendor/bin/hw/android\.hardware\.audio@2\.0-service-droidlogic u:object_r:hal_audio_default_exec:s0
/data/vendor/mediadrm(/.*)? u:object_r:hal_drm_data:s0