commit | 2f20081f9fd734e466147bf1091d06cc7331458c | [log] [tgz] |
---|---|---|
author | Chet Haase <chet@google.com> | Thu Oct 11 12:49:08 2012 -0700 |
committer | Chet Haase <chet@google.com> | Tue Oct 16 13:21:04 2012 -0700 |
tree | 27eb2128a84e7e4166891b62a63d6c9e8626e446 | |
parent | a3d5b688cf500f456127f1c2639ed9323ba50e9c [diff] |
Avoid redundant wallpaper loading/drawing Switching users causes wallpapers to get recreated 3 times. Other operations like startup and rotation cause similar redundant load/draw operations. This change tracks the various attributes that tell us when we really need to reload and redraw, causing only one of these expensive operation per one of these switches. Issue #7334664 Wallpaper draws several times when switching users Change-Id: Ic3072ef3a7eaf622d8632e87e34f50999f716c39