diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2021-11-28 22:36:11 +0200 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2022-03-21 12:34:03 +0100 |
| commit | c51a56c1c7485a1215fe50a182d870cf5b5e3c42 (patch) | |
| tree | 867e0487e9a3ea38c66d92d8d92996dead4f6736 | |
| parent | b1f5aac8f28f013ef29e4530582d1fd52fc3f828 (diff) | |
Reenable camera allow- and excludelist property labels
Change-Id: I71e19c3a10735e3d999c1acec0aefa35b03cc20c
| -rw-r--r-- | common/dynamic/property_contexts | 2 | ||||
| -rw-r--r-- | common/private/property_contexts | 5 | ||||
| -rw-r--r-- | common/private/system_server.te | 3 | ||||
| -rw-r--r-- | common/public/property.te | 3 | ||||
| -rw-r--r-- | common/vendor/property_contexts | 2 |
5 files changed, 11 insertions, 4 deletions
diff --git a/common/dynamic/property_contexts b/common/dynamic/property_contexts deleted file mode 100644 index 2547316..0000000 --- a/common/dynamic/property_contexts +++ /dev/null @@ -1,2 +0,0 @@ -# Aux camera excludelist prop -#vendor.camera.aux.packageexcludelist u:object_r:exported_default_prop:s0 diff --git a/common/private/property_contexts b/common/private/property_contexts index 57cb76f..4851742 100644 --- a/common/private/property_contexts +++ b/common/private/property_contexts @@ -1,3 +1,8 @@ +# Aux camera +vendor.camera.aux.packageexcludelist u:object_r:vendor_persist_camera_prop:s0 +vendor.camera.aux.packagelist u:object_r:vendor_persist_camera_prop:s0 + +# Radio ro.telephony.use_old_mnc_mcc_format u:object_r:telephony_config_prop:s0 # Recovery update diff --git a/common/private/system_server.te b/common/private/system_server.te index 428dbb2..e654e59 100644 --- a/common/private/system_server.te +++ b/common/private/system_server.te @@ -6,3 +6,6 @@ hal_client_domain(system_server, hal_lineage_livedisplay) hal_client_domain(system_server, hal_lineage_touch) hal_client_domain(system_server, hal_lineage_trust) hal_client_domain(system_server, hal_lineage_powershare) + +# Let system server find auxiliary camera properties +get_prop(system_server, vendor_persist_camera_prop) diff --git a/common/public/property.te b/common/public/property.te index 106b5db..2b12f28 100644 --- a/common/public/property.te +++ b/common/public/property.te @@ -1,2 +1,5 @@ +# Aux camera allow/excludelist prop +system_vendor_config_prop(vendor_persist_camera_prop) + # Recovery update system_public_prop(recovery_update_prop) diff --git a/common/vendor/property_contexts b/common/vendor/property_contexts deleted file mode 100644 index 231c9bc..0000000 --- a/common/vendor/property_contexts +++ /dev/null @@ -1,2 +0,0 @@ -# Aux camera allowlist prop -#vendor.camera.aux.packagelist u:object_r:exported_default_prop:s0 |
