diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-08-31 13:57:23 -0700 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-09-01 09:06:44 -0700 |
commit | d4a37518c3b73fcf1860ab10fd3bb7e7ceffba99 (patch) | |
tree | 80cb5a0e35b58c4a7b11f9227b10d035e6c12aca /res/values-fr/strings.xml | |
parent | 1ba127ec81106c9f63ef945137f315a55da59f4a (diff) | |
download | LegacyCamera-d4a37518c3b73fcf1860ab10fd3bb7e7ceffba99.zip LegacyCamera-d4a37518c3b73fcf1860ab10fd3bb7e7ceffba99.tar.gz LegacyCamera-d4a37518c3b73fcf1860ab10fd3bb7e7ceffba99.tar.bz2 |
Fix wrong orientation after suspend and resume.
Camera application calls setDisplayOrientation according to
Display.getRotation and sensor orientation. After power key is
pressed, camera app resumes behind the lock screen and preview
is started. Rotation is 90 at the time. After the screen is
unlocked, surfaceChanged is called because the orientation is
changed from portrait to landscape. Preview is stopped and
restarted. setDisplayOrientation should be called again because
the rotation has changed to 0.
bug:2870671
Change-Id: I1ca5106087c168d88cc8eb4f2a9f192d7fa75a8a
Diffstat (limited to 'res/values-fr/strings.xml')
0 files changed, 0 insertions, 0 deletions