601fddecdf
* Use the `import` function of build.prop files to override the model-specific properties based on the ro.boot.hwc and product SKU values, both set by the bootloader * Set a custom product property source order, so that the ODM and vendor properties have preference over the other sources * Switch to vendor SKU for enabling NFC exclusively on variants that support it, as the product SKU is set by the bootloader * Create a symlink from /vendor/etc/audio/sku_sweet to /vendor/etc, as the audio HAL takes the former as directory for audio configs if SKU is set to `sweet` Change-Id: I312a059e0cbcbad6aa052bd32142b70dcf0a7adc Signed-off-by: danielml <daniel@danielml.dev>
11 lines
275 B
Plaintext
11 lines
275 B
Plaintext
on property:ro.boot.product.vendor.sku=sweet
|
|
enable vendor.nfc_hal_service
|
|
|
|
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service
|
|
override
|
|
class hal
|
|
user nfc
|
|
group nfc
|
|
writepid /dev/cpuset/system-background/tasks
|
|
disabled
|