summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Lingyu Feng <lingyufeng@google.com> 2025-02-24 00:19:19 -0800
committer Lingyu Feng <lingyufeng@google.com> 2025-02-24 00:19:19 -0800
commite09b6ae000a6194e30410d53774cf72405944dac (patch)
treea1b0a3eaa843f84b50bf60bf9f5e6b084f31adae /libs/androidfw/AttributeResolution.cpp
parente416efe13f3b30a9bdbaf145e9ed7362a5d53cd7 (diff)
Check isHomeSupported() before notifying wallpaper
instead of isSystemDecorationsSupported() when display adds system decorations, because wallpaper is also supposed to be shown when isHomeSupported of DisplayWindowSettings is enabled. See Java doc of VirtualDisplayConfig#setHomeSupported(). This fixes virtualDeviceHome_noHomeComponent_showsWallpaper() and virtualDeviceHome_withHomeComponent_showsWallpaper() in VirtualDeviceHomeTest. Bug:398397359 Change-Id: I1da49b4d522ae333131939a340e8b69cb544b505 Test: atest VirtualDeviceHomeTest Flag:com.android.server.display.feature.flags.enable_display_content_mode_management et
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions