commit | ad1c5cf963e85d2efe7b34c07e076dbf6b6ab7d0 | [log] [tgz] |
---|---|---|
author | Omprakash Dhyade <odhyade@codeaurora.org> | Thu Aug 05 16:28:37 2010 -0700 |
committer | Naomi Luis <nluis@codeaurora.org> | Tue Aug 10 16:49:48 2010 -0700 |
tree | 1bc1ee0a3014cd885b8316011ecf84a55d793a77 | |
parent | 3af76d897849e4e73f967647b0e3c11cf88e9ca5 [diff] |
frameworks/base: Swap width and height of temporary buffer only with orientation change Current code swaps the width and height by assuming that aspect ratio of the buffer width and height will be same as that of the layout clip width and height. That is not always true. Change the check to orientation change. Change-Id: Ie387f3a7369025427484e4173cbde7a08df2b9d7