device_xiaomi_sweet/properties/odm.prop
danielml 601fddecdf
sweet: Get rid of libinit
* 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>
2024-03-28 13:03:10 -04:00

8 lines
284 B
Plaintext

# Model-specific properties
import /odm/etc/build_${ro.boot.hwc}.prop
import /odm/etc/build_${ro.boot.hwc}-${ro.boot.product.hardware.sku}.prop
# Model-specific properties (recovery)
import /build_${ro.boot.hwc}.prop
import /build_${ro.boot.hwc}-${ro.boot.product.hardware.sku}.prop