OSDN Git Service

Don't set incorrect stack bounds when rotating screen in docked mode
authorWale Ogunwale <ogunwale@google.com>
Sat, 10 Oct 2015 20:05:45 +0000 (13:05 -0700)
committerWale Ogunwale <ogunwale@google.com>
Tue, 13 Oct 2015 01:56:28 +0000 (18:56 -0700)
commitffc11bb712343b634901fe2d0e0022e7e578dd5c
tree45abb190daac4af889d97439c152e4756e0dd090
parent75f1e1182889dabcf5596e7c17df5005edee412c
Don't set incorrect stack bounds when rotating screen in docked mode

Both window manager and activity manager could decide what the bounds
of other stacks should be when the docked stack exist which can get
out of sync. Now window manager does the bounds calculation and
activity manager asks window manager what the bounds should be when
it needs to resize the stack.

Bug: 24738105
Change-Id: I97356f008b676d2f58a8b54fdb08735ab51394af
cmds/am/src/com/android/commands/am/Am.java
core/java/android/app/ActivityManagerNative.java
core/java/android/app/IActivityManager.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/am/ActivityStackSupervisor.java
services/core/java/com/android/server/wm/DockedStackDividerController.java
services/core/java/com/android/server/wm/TaskStack.java
services/core/java/com/android/server/wm/WindowManagerService.java