commit | 4aaa2130af7241f128ee561cafd17a4fb560b92c | [log] [tgz] |
---|---|---|
author | Wu-cheng Li <wuchengli@google.com> | Fri Sep 10 12:48:00 2010 -0700 |
committer | Wu-cheng Li <wuchengli@google.com> | Wed Sep 15 09:21:49 2010 -0700 |
tree | 0d92d61f352c0605a2fdaa63c909e4f2edd3a55d | |
parent | 8eaa6919f0d5c10c95c99f2f937d57ea5c4a5bba [diff] |
Fix the wrong rotation on naturally landscape devices. The orientation of on-screen icons and thumbnails are wrong on devices that are naturally landscape in their orientation. Display.getRotation should be used to compensate. Parameters.setRotation should also be compensated by camera's orientation. Change-Id: Ia0684fcd606252c49fa2d701ab07c73f7e29b70b