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 Test: Build, perf metrics Test: atest LauncherIronwoodIntegrationTests:android.platform.test.scenario.launcher.integration_tests.HomescreenCustomizationTests Change-Id: Ibc5bc00ea8f5d97a1cb01a7ca8a7bfd72457fe19
This commit is contained in:
parent
83650f79c4
commit
fa0cfc4c07
2 changed files with 10 additions and 0 deletions
|
@ -274,3 +274,8 @@ 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.settings.large_screen_opt.enabled=false
|
||||
|
||||
|
|
|
@ -293,3 +293,8 @@ 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.settings.large_screen_opt.enabled=false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue