Handle PiP params changes in onTaskInfoChanged
Before, there were two paths for listening to pip params changes, either via onTaskInfoChanged (only handle aspect ratio changes the same way for all form factors) and PinnedTaskListener. Now all PiP params changes are handled in onTaskInfoChanged and use similar listeners to allow for different behavior for different form factors. Also adds a TvPipTaskOrganizer so that only relevant params are checked. Bug: 218456378 Bug: 220042536 Bug: 228854691 Test: atest PinnedStackTests Change-Id: I673ab69ee9253db782c41da96695b5a374345086
Loading
Please register or sign in to comment