Use same display for activities in same process.
Use WindowProcessController to calculate display to hold activity. Use the display with the top most activity within the same application. If no top activity is available use the default display Add additional parameter to task params modifier to include request. Handle launching on same display if using PendingIntent. Bug: 152958720 Test: atest WmTests:WindowProcessControllerTests atest WmTests:TaskLauncherParamsModifierTests Change-Id: I8344f239e5fca278ab369787de8c433111971a2b
Loading
Please register or sign in to comment