commit | 8e8d23214a71d8813ebd3676b192924c530cb913 | [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 13:13:19 2016 -0700 |
tree | 23fa4c0ffdbd5b1a4866c63021f3382e54338a15 | |
parent | eaa1c9ae4248810ed30c52d85e348712f5621a50 [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