commit | 4dfb9c4bbb014ac4625dcae419b212d00f541ef0 | [log] [tgz] |
---|---|---|
author | Andrii Kulian <akulian@google.com> | Tue Oct 11 20:06:27 2016 -0700 |
committer | Andrii Kulian <akulian@google.com> | Wed Oct 12 17:15:15 2016 -0700 |
tree | 14ab1bcac1cc4c51332aba6e345dcb8ef398d598 | |
parent | 5890f31b017cd82bf2b968c01441e3d949d13ca3 [diff] |
Fix bounds rotation logic Reuse code that computes window bounds for seamless rotation in DisplayContent#rotateBounds. Also make sure that we operate with display rect adjusted for the requested orientation. Bug: 31005451 Bug: 29586417 Test: Tests in ActivityManagerAppConfigurationTests pass. Change-Id: I921ec184c9eaad6dbd15ac3e0def1f5e623a363e