diff --git a/lineage_tart.mk b/lineage_tart.mk index f41885d..dffedac 100644 --- a/lineage_tart.mk +++ b/lineage_tart.mk @@ -9,7 +9,11 @@ # Inherit device configuration $(call inherit-product, device/rockchip/tart/aosp_tart.mk) -PRODUCT_AAPT_PREF_CONFIG := tvdpi +# Use xhdpi instead of tvdpi to avoid TvFrameworkOverlay's config_maxUiWidth=1280 +# in the values-tvdpi bucket, which caps a 1920x1080 display to 1280x720. +# The RPi5 ATV build uses the same approach (PRODUCT_AAPT_PREF_CONFIG := xhdpi) +# and resolves config_maxUiWidth=1920 (no effective cap on 1080p). +PRODUCT_AAPT_PREF_CONFIG := xhdpi PRODUCT_CHARACTERISTICS := tv # LineageOS ATV base diff --git a/overlay/AndroidTvOpiOverlay/res/values-xhdpi/config.xml b/overlay/AndroidTvOpiOverlay/res/values-xhdpi/config.xml new file mode 100644 index 0000000..73b9322 --- /dev/null +++ b/overlay/AndroidTvOpiOverlay/res/values-xhdpi/config.xml @@ -0,0 +1,24 @@ + + + + + + 0 +