OSDN Git Service

Choose a matching record in split-screen stack
authorAndrii Kulian <akulian@google.com>
Fri, 27 Apr 2018 01:31:58 +0000 (18:31 -0700)
committerAndrii Kulian <akulian@google.com>
Fri, 27 Apr 2018 23:01:12 +0000 (16:01 -0700)
commitec7d4c49ae9c8c2dc516143582ee89ebce4f7e98
tree3d835d1ecba458f047517a39acf0bdd31b3427bc
parent9d5eb3453f00e50d15f46f218b986f01102b7b79
Choose a matching record in split-screen stack

The split-screen primary stack should be chosen if activity is
launched that targets split-screen secondary, but a matching existing
instance is found on top of split-screen primary stack.

Bug: 77215248
Test: ActivityStackSupervisorTests#testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary
Change-Id: If3a47f793be2b9b84f822eacaa0befb28cc21d2e
services/core/java/com/android/server/am/ActivityStackSupervisor.java
services/tests/servicestests/src/com/android/server/am/ActivityStackSupervisorTests.java