config: tablet: Enable freeform and large screen support for all targets

Change-Id: I8137911f96cf2eb347d8e5012be649ddb01057f8
This commit is contained in:
Sebastiano Barezzi
2024-07-21 22:01:35 +02:00
committed by Łukasz Patron
parent 3f0c84c2c0
commit 2bf1bc81c9
5 changed files with 10 additions and 4 deletions

9
config/tablet.mk Normal file
View File

@@ -0,0 +1,9 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Settings
PRODUCT_PRODUCT_PROPERTIES += \
persist.settings.large_screen_opt.enabled=true
# Freeform window management
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.software.freeform_window_management.xml