OSDN Git Service

Reset docked divider to the middle of the screen if sys-ui dies
authorWale Ogunwale <ogunwale@google.com>
Fri, 5 Feb 2016 02:04:39 +0000 (18:04 -0800)
committerWale Ogunwale <ogunwale@google.com>
Fri, 5 Feb 2016 02:51:48 +0000 (18:51 -0800)
commita9f9b37823a5f046078594c96c262c127afdee1c
treed68a78cdfa12d1e9773ad1dd0855e3be2048512c
parent9884eaadd36907f2510d2ebbe0830e59efd84a75
Reset docked divider to the middle of the screen if sys-ui dies

It is possible for the docked divider to be in an unstable location
when sys-ui dies. E.g sys-ui animating the divider from behind the
nav bar. When this occurs we reset the divider to the middle of the
screen so that the system remains in a useable state. Otherwise, the
docked stack can be fullscreen always preventing the user from going
into any other application.

Bug: 26965731
Change-Id: Icd254fffe69da4ee3f2efb4ff1d210a778703f64
services/core/java/com/android/server/wm/TaskStack.java
services/core/java/com/android/server/wm/WindowState.java