OSDN Git Service

Fixes primary stack being visible when minimizing 3rd party launcher
authorMatthew Ng <ngmatthew@google.com>
Tue, 1 May 2018 21:24:38 +0000 (14:24 -0700)
committerMatthew Ng <ngmatthew@google.com>
Tue, 1 May 2018 22:52:55 +0000 (15:52 -0700)
commit99b3cdce2823b069de1f52d5dc2f37a92c67fe49
tree8d06efff4d7c1d5d8e6fde14433121ca17233755
parent331a22e39a95e335da6f401aa4caee8efb3781de
Fixes primary stack being visible when minimizing 3rd party launcher

When using 3rd party launcher, the home stack is not merged with
overview then when minimizing, it will not be secondary split screen
stack. Then the primary stack will be presumed invisible even though
it is on the screen. The added check will make sure that the docked
stack is visible when minimizing.

Test: use 3rd party launcher, minimize
Change-Id: I5837ac6339352cae926c970f7453f5564abafb70
Fixes: 77818300
services/core/java/com/android/server/am/ActivityStack.java