commit | ac3e0e590a7b425af20e2ac70569ced789155dde | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri Jun 24 12:29:16 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Jun 24 22:11:27 2016 +0000 |
tree | 7baad0684bb67431208f14ca4660d36f6dc9a31c | |
parent | c63710ea4849aba6d30807b7f38a122a6176aa49 [diff] |
Update DisplayMetrics when resizing Previously the DisplayMetrics passed to a new ResourcesImpl object would be generated from the default DisplayAdjustments. We now use the correct DisplayAdjustments for the ResourcesImpl and make sure to update them for things like rotation changes. Bug:29619314 Change-Id: If2ba0d7670a4554dcd3fde9766e2337f20a191fd (cherry picked from commit 8e8d23214a71d8813ebd3676b192924c530cb913)