diff options
author | Chong Zhang <chz@google.com> | 2016-04-25 16:09:14 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2016-04-26 10:36:07 -0700 |
commit | 4d7369adb3cf0e713d25abaefa74d6627ecb086e (patch) | |
tree | c3d6c3a79f0dd5273d400de6835f403d273da86d /libs/hwui/ProgramCache.cpp | |
parent | 5e40748d3f32c0d5843855cac169e82dd15a0904 (diff) |
Request a wallpaper update pass when wallpaper target is set to visible
Usually wallpaper target gets updated when some wallpaper target window
finishes drawing. However in some cases, Recents app could be set to
visible again before its stopped. (Which could happen when we started
opening transition into some app with a saved surface, but the app draws
so slow so that when user pressed Recents button again, the app still
hasn't delivered first frame.) In this case, the surface is already
drawn and we won't get a finish drawing again. We need to make sure the
wallpaper target is updated.
bug: 27742244
Change-Id: I8ff53f15f95bae8a99a5a0fd11e24e0186dc3345
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions