summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Wu-cheng Li <wuchengli@google.com> 2010-09-23 17:17:43 -0700
committer Wu-cheng Li <wuchengli@google.com> 2010-09-27 11:49:56 -0700
commitb3347bc6d797d402b21b9b524de15c10b134c13d (patch)
tree031c491d939f6c650b4c90096f1703ead90dd2a5 /libs/hwui/ProgramCache.cpp
parent4e9751f0770c8bfe6f7d57465cba754af5aa942b (diff)
The old overlay should be destroyed if orientation changes.
Previously the orientation was wrong after suspend and resume. When the camera app is resumed behide the lock screen, it orinteation is portrait. When users slide to unlock the screen, surfaceChanged is called and the orientation is landscape. The camera app stops the preview, sets the display orientation, and starts the preview. Overlay should be destroyed if the orientation has changed. bug:3031640 Change-Id: I38b527f9ea78c91b538463292152c023383b4695
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions