From ad558bf4904daf331194c348fb7bfe225e70777a Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Sat, 1 Jun 2024 00:17:16 +0200 Subject: [PATCH] config: Add common config for book-style foldables Book-style foldables like the Pixel Fold, Galaxy Z Fold and Xiaomi MIX Fold series have two displays: one primary, near tablet-sized inner panel and a smaller, phone-sized outer panel. These devices need a combination of configs to enable both phone- and tablet-targeted features. Therefore, add a config file merging contents of the common phone and tablet configs. Change-Id: Ibf89e4336fa119ebfb79aad8dac4266fd4972985 Signed-off-by: Jens Reidel --- config/common_full_foldable_book_telephony.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/common_full_foldable_book_telephony.mk diff --git a/config/common_full_foldable_book_telephony.mk b/config/common_full_foldable_book_telephony.mk new file mode 100644 index 00000000..f1904dd9 --- /dev/null +++ b/config/common_full_foldable_book_telephony.mk @@ -0,0 +1,11 @@ +# Inherit mobile full common Lineage stuff +$(call inherit-product, vendor/lineage/config/common_mobile_full.mk) + +# Enable support of one-handed mode +PRODUCT_PRODUCT_PROPERTIES += \ + ro.support_one_handed_mode?=true + +# Inherit tablet common Lineage stuff +$(call inherit-product, vendor/lineage/config/tablet.mk) + +$(call inherit-product, vendor/lineage/config/telephony.mk)