OSDN Git Service

Fixed bug with stack bounds getting out of alignment with screen rotation
authorWale Ogunwale <ogunwale@google.com>
Sun, 21 Feb 2016 22:18:51 +0000 (14:18 -0800)
committerWale Ogunwale <ogunwale@google.com>
Sun, 21 Feb 2016 22:18:51 +0000 (14:18 -0800)
commitecbcadd27d1c00fddebbd2893251b05096252ee5
tree678ecb03b22cbbd9e416dbca9d80de9b73786f6d
parent9cea80cdddbecadb304eb7c8373cf1ed397f433a
Fixed bug with stack bounds getting out of alignment with screen rotation

Before updating the stack bounds due to rotation change, we need to make
sure both the configuration and the current display info. the stack is
using have been updated for the current rotation. Previously we were
updating is after configuration change, but the rotation might have changed
again by the time we get the configuraiton changed call and
TaskSack.updateDisplayInfo not called yet.

Bug: 26744649
Change-Id: Idfd30e78dc9c2fb521ff1957f043c3b1696a2a31
services/core/java/com/android/server/wm/TaskStack.java
services/core/java/com/android/server/wm/WindowManagerService.java