If the device only have 60 and 120 Hz in the config group, 60 Hz won't be
used when watching a 24 fps video and instead 120 Hz will be used because
it is perfectly divisible by 24.
This is a publicly documented AOSP behavior [1], but it simply does not
make any practical sense and trades off significant amount of power for a
very-hard-to-notice jitter-free experience.
Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this
behavior to 60 or lower fps.
[1] https://source.android.com/devices/graphics/multiple-refresh-rate
Change-Id: I66353abc46ad16e63b2c9188794469ad71f2192e
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* 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>