Fix build break if BOARD_WITHOUT_RADIO
Fix ERROR 'unknown type radio_vendor_data_file' Bug: 235907512 Change-Id: I55e88c9364b42db262c057a2aa85816944c1c761
This commit is contained in:
parent
c96220c282
commit
5ea60d6348
4 changed files with 8 additions and 7 deletions
|
@ -1,5 +0,0 @@
|
|||
# Radio
|
||||
type radio_vendor_data_file, file_type, data_file_type;
|
||||
userdebug_or_eng(`
|
||||
typeattribute radio_vendor_data_file mlstrustedobject;
|
||||
')
|
|
@ -1,5 +1,3 @@
|
|||
# ECC List
|
||||
/vendor/bin/init\.radio\.sh u:object_r:init_radio_exec:s0
|
||||
# Radio files.
|
||||
/data/vendor/radio(/.*)? u:object_r:radio_vendor_data_file:s0
|
||||
|
||||
|
|
6
whitechapel/vendor/google/file.te
vendored
6
whitechapel/vendor/google/file.te
vendored
|
@ -212,3 +212,9 @@ type sysfs_trusty, sysfs_type, fs_type;
|
|||
|
||||
# BootControl
|
||||
type sysfs_bootctl, sysfs_type, fs_type;
|
||||
|
||||
# Radio
|
||||
type radio_vendor_data_file, file_type, data_file_type;
|
||||
userdebug_or_eng(`
|
||||
typeattribute radio_vendor_data_file mlstrustedobject;
|
||||
')
|
||||
|
|
2
whitechapel/vendor/google/file_contexts
vendored
2
whitechapel/vendor/google/file_contexts
vendored
|
@ -434,3 +434,5 @@
|
|||
# Raw HID device
|
||||
/dev/hidraw[0-9]* u:object_r:hidraw_device:s0
|
||||
|
||||
# Radio files.
|
||||
/data/vendor/radio(/.*)? u:object_r:radio_vendor_data_file:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue