commit | e5a7b64c3f280c7d4520230af80b83ba5a8fce7d | [log] [tgz] |
---|---|---|
author | David Stevens <stevensd@google.com> | Mon May 22 13:18:23 2017 -0700 |
committer | David Stevens <stevensd@google.com> | Wed Sep 20 13:49:32 2017 -0700 |
tree | bdb488773c0d80da7855ad4963b20260a0d8a90c | |
parent | a3e08770ac00a584a21e13de2a93e96ba410a3f9 [diff] |
Prefer the launch display to the source when looking for task/stack When launching an activity with a launchDisplayId, look for affinity matches on that display or use the focused stack when it is on that display (instead of using the source display). Test: android.server.cts.ActivityManagerDisplayTests Test: #testLaunchDisplayAffinityMatch Bug: 38502844 Change-Id: I2ddf00e3107a8188aaf88553aedc5802e2d251bf