Skip to content

Commit

Permalink
config: Add common config for book-style foldables
Browse files Browse the repository at this point in the history
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 <adrian@travitia.xyz>
  • Loading branch information
Gelbpunkt authored and mikeNG committed Sep 3, 2024
1 parent 1989665 commit ad558bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/common_full_foldable_book_telephony.mk
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit ad558bf

Please sign in to comment.