Disable Settings large-screen optimization

Disable the optimization that is automatically enabled when
including Window Extensions through Activity Embedding.
The optimization causes to launch an additional trampoline
activity for deep links, even when the screen size is smaller
than required by Activity Embedding rules.

Bug: 267725145
Test: Build, perf metrics
Change-Id: I3310b63f655c3b859ab294b9174eb1be12cb6392
This commit is contained in:
Andrii Kulian 2023-04-12 05:03:05 +00:00
parent 166b0791d3
commit e2a450a661
2 changed files with 6 additions and 0 deletions

View file

@ -274,3 +274,6 @@ endif
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.sys.fflag.override.settings_support_large_screen=false

View file

@ -293,3 +293,6 @@ endif
# Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.sys.fflag.override.settings_support_large_screen=false