sweet: sepolicy: Label elliptic ultrasound property

* E libc    : Access denied finding property "elliptic.ultrasound.multiple_mics.enable"

Signed-off-by: Zinadin Zidan <zidan.roking@gmail.com>
Change-Id: I4ed2035de3887ca6769ba5c268fa401d9b766c65
This commit is contained in:
Zinadin Zidan 2021-09-01 13:08:55 +06:00 committed by basamaryan
parent f20c87a87d
commit 7c4b20bb8b
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
3 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# Elliptic ultrasound proximity # Elliptic ultrasound proximity
elliptic.ultrasound.multiple_mics. u:object_r:elliptic_ultrasound_prop:s0
elliptic.ultrasound. u:object_r:vendor_sensors_prop:s0 elliptic.ultrasound. u:object_r:vendor_sensors_prop:s0
invn.hal u:object_r:vendor_sensors_prop:s0 invn.hal u:object_r:vendor_sensors_prop:s0

1
sepolicy/vendor/hal_audio_default.te vendored Normal file
View File

@ -0,0 +1 @@
get_prop(hal_audio_default, elliptic_ultrasound_prop)

2
sepolicy/vendor/property.te vendored Normal file
View File

@ -0,0 +1,2 @@
# Ultrasound
vendor_public_prop(elliptic_ultrasound_prop)