mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 15:09:54 +00:00
wahoo: sepolicy: Add missing vendor_radio_prop
Add missing vendor_radio_prop: vendor.radio.pwr.curb_backoff radio_prop is neverallow since android P. Move this prop to vendor_radio_prop Bug: 115943152 Test: Camera function work. Change-Id: Ia6e9bc68e3e71e14a00bf10718c656eb64b5ea13
This commit is contained in:
2
sepolicy/vendor/hal_camera_default.te
vendored
2
sepolicy/vendor/hal_camera_default.te
vendored
@@ -21,3 +21,5 @@ userdebug_or_eng(`
|
||||
allow hal_camera_default camera_vendor_data_file:dir create_dir_perms;
|
||||
allow hal_camera_default camera_vendor_data_file:file create_file_perms;
|
||||
')
|
||||
|
||||
get_prop(hal_camera_default, vendor_radio_prop);
|
||||
1
sepolicy/vendor/property_contexts
vendored
1
sepolicy/vendor/property_contexts
vendored
@@ -194,6 +194,7 @@ persist.radio.snapshot_timer u:object_r:vendor_radio_prop:s0
|
||||
persist.radio.videopause.mode u:object_r:vendor_radio_prop:s0
|
||||
persist.radio.VT_ENABLE u:object_r:vendor_radio_prop:s0
|
||||
persist.radio.VT_HYBRID_ENABLE u:object_r:vendor_radio_prop:s0
|
||||
vendor.radio.pwr.curb_backoff u:object_r:vendor_radio_prop:s0
|
||||
|
||||
# vendor_bluetooth_prop
|
||||
persist.vendor.bluetooth.a4wp u:object_r:vendor_bluetooth_prop:s0
|
||||
|
||||
2
sepolicy/vendor/rild.te
vendored
2
sepolicy/vendor/rild.te
vendored
@@ -28,7 +28,7 @@ dontaudit rild diag_device:chr_file rw_file_perms;
|
||||
allow rild radio_vendor_data_file:dir rw_dir_perms;
|
||||
allow rild radio_vendor_data_file:file create_file_perms;
|
||||
|
||||
get_prop(rild, vendor_radio_prop)
|
||||
set_prop(rild, vendor_radio_prop)
|
||||
|
||||
# Allow vendor native process to read the proc file of xt_qtaguid
|
||||
allow rild proc_qtaguid_stat:file r_file_perms;
|
||||
|
||||
Reference in New Issue
Block a user