OSDN Git Service

Fix black screen when launching app from Recents into non-docked area
authorChong Zhang <chz@google.com>
Mon, 11 Jan 2016 20:23:51 +0000 (12:23 -0800)
committerChong Zhang <chz@google.com>
Mon, 11 Jan 2016 20:35:12 +0000 (12:35 -0800)
commit573e8e170656f0b5e24fed966890f4d9e68ec26b
treede3e995a4f6b23fbe86a43e56c2091d11d5e55a4
parentca8bce51f9f0e3ad0614d0d1e83da0ea6a7fd639
Fix black screen when launching app from Recents into non-docked area

In this case, we're putting the app into a fullscreen stack that is
resized due to docked stack. When setting up the thumbnail scale up
animation, we have to treat this case as animating into freeform window,
as the containing frame will not be fullscreen, and it's not a clip
rect. For freeform windows, we set up scaling and translation, and
don't change the clip rect.

bug: 26435476
Change-Id: Ic1ac71bfc814afd62572027fa11663c80d903a2d
services/core/java/com/android/server/wm/WindowManagerService.java