OSDN Git Service

Fix flicker when unlocking
authorJorim Jaggi <jjaggi@google.com>
Fri, 1 Apr 2016 23:05:10 +0000 (16:05 -0700)
committerJorim Jaggi <jjaggi@google.com>
Sat, 2 Apr 2016 00:14:56 +0000 (00:14 +0000)
commitf4fa8cb79bc9102d4bb6d18698fd01dc038d9b81
tree7fd5143ef436c93bb2960543b061b6370e09f354
parentc6d7160e6bac7cc273a76b328b55c5f7043ca53d
Fix flicker when unlocking

When the device was locked the fullscreen stack was laid out
fulllscreen, even though the configuration was half-screen, which
lead to a race between the app drawing and the unlock animation
so sometimes you could see the fullscreen frame when the unlock
animation started.

Instead, only layout in fullscreen if the docked stack is fully
"hidden".

Bug: 27154882
Change-Id: I4ba0c396eb0312c2bf2d911903b68c88d28aae8c
services/core/java/com/android/server/wm/Task.java