commit | 8bf24a58ae90f513e726aef01ba709aba6670a3d | [log] [tgz] |
---|---|---|
author | Iris Yang <irisykyang@google.com> | Thu Sep 16 02:30:25 2021 +0000 |
committer | IRIS YANG <irisykyang@google.com> | Fri Sep 24 05:27:32 2021 +0000 |
tree | 3a68ea1d0c79aeebae1e55a1630410f607b5f1af | |
parent | 8c2f308521af7a99f681d6e4f8edf16041adeac7 [diff] |
Move/Launch task on the TaskView's display. Add ActivityOptions#setLaunchDisplayId to the display that the TaskView is currently on. So the task will be moved to the display as the user is interactiving with. This change is adding ag/15604010 back since b/197293995 is fixed. Bug: 183461428 Test: Manually tested using Exo. Open appliction(e.g.Calculator) on Exo virtual display, and tapping on the phone's recents to bring the application back to phone. The demo video https://drive.google.com/file/d/1JMncvsI-VPosK4ql2xeVA8csVAF7Rb16/view?usp=sharing&resourcekey=0-PYRw1k3KdtY0-KZNo6OqjQ Change-Id: I39b1825b69d55001f66ee01a982e3cd366da56bd