OSDN Git Service

Fixed issue with wrong stack fullscreen state on configuration change
authorWale Ogunwale <ogunwale@google.com>
Mon, 25 Apr 2016 20:40:30 +0000 (13:40 -0700)
committerWale Ogunwale <ogunwale@google.com>
Mon, 25 Apr 2016 21:04:04 +0000 (14:04 -0700)
commit5952f9aea4d0f5242d9678eb491ea7aa54734e66
treeb2d80ec18cfee1e01dae4146175dcb92f8608e4a
parent4ace8366619d04d326505ad689c5d43707f2aaea
Fixed issue with wrong stack fullscreen state on configuration change

- No need to run TaskStack#updateBoundsAfterConfigChange if the stack
is fullscreen as the bounds will already be updated to when the display
content changed due to rotation.
- Correctly set mTmpRect2 that we are using to calculate the rotated
bounds to the current mBounds.

Bug: 28319277
Bug: 27870534
Change-Id: Ic3d9407b735210351c28297de79bf035909afcfe
services/core/java/com/android/server/wm/TaskStack.java