Since ro.boot.product.vendor.sku is set to lahaina we are loading mixer
paths from /vendor/etc/audio/sku_lahaina/ instead of /vendor/etc/.
Change-Id: I5a871ed3b64d47558b90e522eb32cbd94cb65daf
It appears that OnePlus is not using AOSP resources for display cutout.
Instead they are drawing it manually thus I used their x, y and radius
to prepare my own vector path:
<dimen name="op_draw_cutout_circle_r">43.0px</dimen>
<dimen name="op_draw_cutout_circle_x">155.0px</dimen>
<dimen name="op_draw_cutout_circle_y">83.0px</dimen>
Change-Id: Ia061229717cd84277d792269aa1985ded07d1ae3
When config_screenBrightnessSettingMaximumFloat is unset
we are falling back to legacy (0-255 int) configuration.
Change-Id: Iecb9ad8fcc25178160e2114dd40337f59af3cf66
* Because of config_roundedCornerMultipleRadius being set to
obnoxiously high value we end up having too high corner
border radius for Android recents.
* Also we still need to set rounded_corner_radius to something
other than 0 so that we'll have our rounded border drawables
applied. I guess that 8dp is a fair value for that.
Change-Id: Ib39ac6c4aaf6c00c247b2945e4f0a71ab0789df5
* Set rounded_corner_radius instead of _top + _bottom
as they are exactly the same.
* Overlay rounded.xml with _top drawable as _bottom one
is the pretty much the same as _top after manually
rotating it by 90 degrees.
Change-Id: I89ce857d15804f9a9361ff3825a9426a9382c578
* This allows us to provide usable recovery image for people
who are still on OxygenOS dtbo as unmodified stock dtbo
defaults to 1080p. While it'll make UI slightly smaller
on Lineage dtbo, it doesn't make it unacceptable.
Change-Id: Ic216c9d17066765c1b06ffdd35f2543f412f18db