summaryrefslogtreecommitdiff
path: root/include/androidfw/KeycodeLabels.h
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2012-10-18 12:01:34 -0700
committer The Android Automerger <android-build@android.com> 2012-10-18 13:10:51 -0700
commit66652870e2fabe2789190b6f455a711c15447a30 (patch)
treeedaf7b0720b89476a87652ee10e6ebd8e38b8297 /include/androidfw/KeycodeLabels.h
parent8da94bd95b8d5b09adac6764f302b672a3f9f580 (diff)
Track size changes correctly for static wallpapers
Previous logic compared the surface size to the bitmap size to determine whether to reload the bitmap. This was based on an assumption that the bitmap would be created at the same sizea s the surface. However, the process of how those sizes get determined is different for surfaces and wallpapers, causing an occasional issue where the bitmap gets reloaded frequently, every time the wallpaper is asked to redraw, even though it always gets recreated at the same size. New logic checks previous surface dimensions against current surface dimensions to determine whether the bitmap should be reloaded; we really only want to reload it when the surface size changes. Issue #7373200 pause when toggling between All Apps and Home screen; Home button stays illuminated for a long time Change-Id: I108777b72bd42616ad7cf8274af1b3e6b2ed94e7
Diffstat (limited to 'include/androidfw/KeycodeLabels.h')
0 files changed, 0 insertions, 0 deletions