Commit Graph

3 Commits

Author SHA1 Message Date
Juhyung Park
8be3f0e324 sweet: Set debug.sf.frame_rate_multiple_threshold to 60 by default
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>
2024-11-12 14:02:45 +08:00
Alexander Winkowski
0b58ad8f0a
sweet: Fix vendor.voice.path.for.pcm.voip value
Stock ROM overrides it in product partition

Change-Id: I796044761d4a0a9d102f6b6d89c8e81bbb997665
2024-03-28 13:03:23 -04:00
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