Revert^2 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
Bug: 279461170
fixes: 280606740

Test: Build, perf metrics
Test: atest LauncherIronwoodIntegrationTests:android.platform.test.scenario.launcher.integration_tests.HomescreenCustomizationTests
Test: atest SettingsMultiPaneDeepLinkTest.java
Test: run v2/aep-ironwood/suite/test-mapping-ironwood-p0-cujs via ABTD
  on cheetah/oriole/panther/raven in udc-dev/master branch

Change-Id: I532ebbcdc93f13c8d4cf956b53b498be907c4349
This commit is contained in:
Charles Chen 2023-05-04 18:30:48 +00:00
parent 0302209e61
commit 653f25765f
2 changed files with 8 additions and 0 deletions

View file

@ -376,3 +376,7 @@ PRODUCT_COPY_FILES += \
# Window Extensions # Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.settings.large_screen_opt.enabled=false

View file

@ -359,3 +359,7 @@ PRODUCT_COPY_FILES += \
# Window Extensions # Window Extensions
$(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.settings.large_screen_opt.enabled=false