OSDN Git Service

Add config flag to specify if wallpaper is rendered
authorDaichi Hirono <hirono@google.com>
Thu, 29 Mar 2018 04:06:07 +0000 (13:06 +0900)
committerDaichi Hirono <hirono@google.com>
Thu, 29 Mar 2018 04:43:04 +0000 (13:43 +0900)
commitc143222407b015584acc590003f2f3db0cd70823
treebca3dba060e3fe55c07e5049fbf65ffdb5ff8d4f
parent4b46d3e1e4ac5e9c329141b853aec0d8b34c1e0b
Add config flag to specify if wallpaper is rendered

DisplayContent#checkWaitingForWindows is used to block turning on
display at boot until wallpaper is ready. However when Android runs in a
container, wallpaper can be rendred outside of the container. In this
case DisplayContent#checkWaitingForWindows cannot find wallpaper window
and it blocks boot until timeout.

The CL adds config_checkWallpaperAtBoot flag to let
checkWaitingForWindow skip wallpaper check.

Bug: 38394691
Test: Check boot on marlin
Change-Id: I1d051521a5be06a4d773780de6fdc481d09acb95
core/res/res/values/config.xml
core/res/res/values/symbols.xml
services/core/java/com/android/server/wm/DisplayContent.java